Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Index Tags using Variables
Message
From
29/11/2002 11:59:43
 
 
To
29/11/2002 11:49:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00728185
Message ID:
00728192
Views:
11
Gaylen

If cFld_Name contains the field name you want to create an index on eg "Surname" then you can create an index on your table by using

INDEX ON (cFld_Name) TAG &cFld_Name

The first expression in () is evaluated to field "Surname" and the TAG expression is evaluated to Surname.

Jos


>(VFP 7.0 SP1)
>
>Hi,
>
>I would like to create new index tags for tables using tag names and index expressions contained in a table.
>
>The INDEX command will not allow me to use a variable or field reference for the tag name or expression.
>
>Is there a way I can accomplish this?
>
>Thanks
>Gaylen Miller
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform