Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Index on Cursor

Status
Not open for further replies.

Auguy

Programmer
May 1, 2004
1,206
US
I know I've read this somewhere before, but I can't seem to find it now. If I create a cursor with
Code:
Select...Into Cursor tmpUser NoFilter ReadWrite
and then index the cursor
Code:
Index On UserCode Tag UserCode
Does this create an actual file somwhere? Secondly, does the index file automatically get deleted when the cursor is released?

Auguy
Northwest Ohio
 
Yes and yes. The file is created in your Windows temp folder with a system-generated name ending in '.TMP'. The CDX file has the same name with a '.CDX' extension. When you close the cursor, both files are deleted.

Mike Krausnick
Dublin, California
 
Thanks Mike

Auguy
Northwest Ohio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top