General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Cursor's (temporary) index -- removal question
I hope I am overlooking the obvious (VFP 7).
A form method processes records for a parameter passed cursor. Inside the method I need to temporarily create a .CDX on the cursor that may already have an existing or indexes. So far so good.
At the end of my method I would really like to just remove this one temporary .CDX but not disturb any of the cursor's index file or files that were originally there.
Question: Given that this is a cursor, is there a better way to selectively close a particular cursor's index file yet retain the original indexes than:
1) Save the value of SET( "PATH" ) and/or ATAGINFO()
2) Close indexes with SET INDEX TO
3) Recreate the original cursor indexes.
I'd appreciate any better ideas. Thank you!
Spencer Redfield
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only