Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seek record in cursor
Message
De
31/08/2000 00:12:15
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00410485
Message ID:
00411163
Vues:
19
Damned if I know, Andrew. Honestly, I rarely index on a view or cursor and never more than one key if I do....I'm treating this as a philosophical discussion :-)

>Yep - I read your code too quickly - INDEX ON is good.
>
>BTW, it looks as if the idx file is deleted as soon as it is no longer the master index:
>
select * from sub_messages into cursor cuSM NOFILTER
>index on sub_id to sub_id
>dir *.idx  && shows sub_id.idx
>index on file_name to file_name
>dir *.idx  && shows file_name.idx
>use
>dir *.idx  && shows (none)
How do use this for multiple orders (eg for setting the order in a grid on a header click)?
>
>Cheers,
>
>Andrew
>
>

>
>>Hey Andrew,
>>
>>I was indexing to an IDX file, not a CDX tag. Indexing to an IDX always works.
>>
>>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform