Hi John,
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
index on file_name to file_name
dir *.idx
use
dir *.idx
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.
>
>
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.