PRB: Error "File Does Not Exist" When Appending from a CursorID: Q140225 3.00 WINDOWS kbprg kbprb The information in this article applies to:
SYMPTOMSAfter using a SQL SELECT command, the temporary cursor created remains open and active but is read-only. Attempting to append records from this cursor by using the APPEND FROM command into a read/write Cursor or Table generates this error:
CAUSESQL cursors are temporary files residing in memory. When the APPEND command is issued, Visual FoxPro searches for the file in the default directory and along the search path. When the file is not found, the error is generated.
RESOLUTIONTo correct this problem, issue the APPEND FROM command with the DBF() clause, and pass the name of the cursor to the DBF() function as in this example:
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce BehaviorType each of the following commands in the Visual FoxPro Command window:
Additional reference words: 3.00 VFoxWin
KBCategory: kbprg kbprb
KBSubcategory: FxprgGeneral
|
Last Reviewed: November 30, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |