IIRC correctly, anything that needs to be treated like a DBF, such as an in-memory cursor reference in an xBase function call, will create a temporary file. Using NOFILTER or READWRITE will force a file to be created as well.
The file extension does not make it a DBF. (See forms, class libraries, report and label layouts, etc.) -- rk -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Paul Newton Sent: Tuesday, January 05, 2016 11:17 AM To: [email protected] Subject: Odd/inconsistent behaviour of DBF() Hi all I hadn't noticed this before but ... USE CNAME SELECT * FROM CNAME INTO CURSOR TMPCNAME NOFILTER ? ALIAS() -> tmpcname ? RECCOUNT() -> 96 ? DBF() -> C:\TEMP\0000TIQ10065.TMP ? FILE(DBF()) -> .F. COPY TO TEMP STRUCTURE USE TEMP IN 0 SELECT TEMP APPEND FROM DBF('tmpcname') ? RECC() -> 96 IOW APPEND FROM DBF('tmpcname') manages to add 96 records from a non-existent DBF (C:\TEMP\0000TIQ10065.TMP) I know that the cursor is in memory and does not have a presence on disk so why does DBF('tempcname') tell me that the name of the table is C:\TEMP\0000TIQ10065.TMP ? Anybody have any thoughts on this behaviour? Paul Newton [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/bn4pr10mb0913a3c847565891b648ca6fd2...@bn4pr10mb0913.namprd10.prod.outlook.com ** 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.

