A cursor is created in memory. The only time it will have a physical
presence (if one can call magnetic states on a hard drive a physical
presence) is when it is created in virtual memory on the hard drive. Either
way it is erased when closed unlike a table. It is only intended for
temporary storage so there is no benefit from PACKing it. If you want to
retain the data, perhaps for debugging, then you must use a table - but
remember to delete it when you have finished with it or you will get errors.
John Weller
01380 723235
07976 393631
>
> HMM... More testing reveals the following oddities:
>
> You can ZAP a cursor created with READWRITE NOFILTER, but you CANNOT
> issue a PACK.
>
> That would be a significant difference from INTO TABLE if you need to
> delete a bunch of records and then wish to pack the table.
>
> @ Vince - I tried doing the USE (DBF("cursorname")) trick, but it
> wouldn't work, since if I closed the cursor, the file was erased, and
> if I left it open, it said it was already being used?
>
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.