Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INDEX on Cursor (How to do) ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00816541
Message ID:
00816560
Vues:
25
>>>just do a standard
>>>INDEX ON eExpression TO IDXFileName | TAG TagName [OF CDXFileName] [FOR lExpression]
>>>
>>>with the cursor as the current table. I believe that the index will be deleted with the cursor when it is released.
>>
>>Hmm...I don't know that an IDX on a cursor will be auto-deleted, though I've never even thought about it, frankly. An ordinary cdx, of course will be. (Not in a place to test at the moment...)
>
>If I remember correctly, you have do a cursorsetprop with buffering set to 3.

That's for a View. This is just an ordinary cursor, I assume. Usually a very simple:

Index on myfield tag mytag

will do the trick for a cursor. Caroline was right, except maybe for including the IDX part.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform