Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create Index Tags using Variables
Message
De
29/11/2002 11:59:43
 
 
À
29/11/2002 11:49:38
Gaylen Miller
Leaderware Corporation
Fulton, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00728185
Message ID:
00728192
Vues:
12
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform