> [mailto:[EMAIL PROTECTED] On Behalf Of Ed Leafe
> 
> > 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.

Becauase after my Select statement, I'm doing other things with the
temporary file.  Changing some values, adding data to blank fields, etc.

John




_______________________________________________
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