>>Two small addendums...you don't need EXCL since all cursors are local, and the CDX will automatically be deleted from memory when the cursor is...
>
>Exclusive is just there for documentation :-)
>My experience has been that certain .cdx's don't get deleted, but I have'nt checked this recently. Must see - I just checked it in VFP 5. The .cdx
is not deleted when the dbf is closed!!
I hope not, or most of our apps would be in big trouble! :)
But what I meant was, when you create a writable cursor with USE DBF() AGAIN, it is still only a cursor, not a true DBF, and any indexes created on it will be released from memory when the cursor is closed. That is, unless you create a CDX with the OF clause in INDEX ON (but why would we ever do this with a cursor?)...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.