rdejong
16th August 2004, 15:09
How can I detect the choosen index in the session-script?
In a session the user can change the used index of a table. Depending on the active index I want to select a record in the table with the apprioate index.
I assume db.iindexinfo() - in co,mbination with db.bind() - has to be used, but I can't find documentation about how to use this.

Ruud

Hitesh Shah
16th August 2004, 15:27
In a 4GL session pre0defined variable curr.key will give u the current index number.

rdejong
16th August 2004, 17:07
I tried with attr.currkey and that works.