Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pulling index names programatically
Message
 
 
À
21/11/2000 15:44:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00444343
Message ID:
00448430
Vues:
10
>I'm pretty sure I've seen this before but does anyone know of the syntax for programatically pulling the indexes for a free table (someting very similar to copy stucture extended results?
                              select WorkFile
                              lnTagCount=TagCount()
                              if lnTagCount>0
                                   dimension laIndTags[lnTagCount], ;
                                        laIndExpr[lnTagCount], ;
                                        laFilterExpr [lnTagCount]

                                   for lnCount=1 to lnTagCount
                                        laIndTags[lnCount]=upper(tag(lnCount)) && TagName
                                        laIndExpr[lnCount]=upper(sys(14,lnCount)) && Index Expression
                                        laFilterExpr[lnCount]=upper(for(lnCount)) && Filter Expression
                                   endfor
                              endif
In VFP7.0 it would not need this code, since there would be a native function available.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform