On Oct 16, 2006, at 2:47 PM, John J. Mihaljevic wrote:

I have a system that creates a temporary file from an SQL statement for
reporting purposes.  I create a temporary filename:

        fname="tmp"+right(sys(3),5)+".dbf"

Just out of curiosity: any reason why you don't just use a cursor? Either use CREATE CURSOR or SELECT ... INTO CURSOR? This way you can do what you like with it, and when you close the cursor, Fox takes care of deleting the temp files for you.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
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
** 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.

Reply via email to