klixy23
29th October 2002, 17:08
Hi,
I need some help with the index description. Where is it stored?

I want to display the selected index on a form field. I tried the tt.index.desc function and get the string "Index 1" and so on.

field.mark.index:
before.display:
tt.index.desc("ttdsls040", curr.key, mark.index)

Where or how can I get the description which is input in the description field in session ttadv4121s000.

evesely
29th October 2002, 18:32
You were very close. In this case, you don't include the 't' prefix on the table. I'm sure you already did, but also make sure that you include the bic_tt functions.

So, you could try this:


#include <bic_tt>
...
field.mark.index:
before.display:
tt.index.desc("tdsls040", curr.key, mark.index)

klixy23
30th October 2002, 10:34
Thank you for the hint, it works now.

evesely
10th December 2002, 17:37
In working on something else, I discovered that the index descriptions (as well as table descriptions and others) are stored in table ttadv130 - Language-Dependent Descriptions.