Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek record in cursor
Message
From
31/08/2000 00:12:15
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00410485
Message ID:
00411163
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform