1- Open de temp file in other area (USE DBF('AliasOfCursor') IN O AGAIN ALIAS AnyName
2- Do a copy toNameOfTable after the sql
3- Send the sql direc to a table with INTO TABLE NameOfaTempTable..
I think that the 3 is more simple...(But i don't secure that option is available in VFP 6)
The Life is Beautiful!
Programmer in
Delphi, VS.NET
MCP