PRB: Err: "Variable Not Found" Attempting to Export (166934)
The information in this article applies to:
- Microsoft Visual FoxPro for Macintosh 3.0b
This article was previously published under Q166934 SYMPTOMS
When attempting to export the fields from a table to another table or
another format, you may get the following message:
Variable <some variable name> is not found.
The variable name referenced is probably not in any of the source tables.
CAUSE
Visual FoxPro is creating the COPY TO command incorrectly. It is truncating
the list of fields and then adding the appropriate keyword for the export
file type to the end of the command line (for example, DBF).
RESOLUTION
Edit the COPY command that is echoed to the Command window so that it
correctly lists the fields.
-or-
If you are trying to copy all fields from a single table, do not use the
"Fields" option in the Export Options dialog box. The Export dialog box
(and COPY TO command) copy all fields, by default.
-or-
If you are using multiple tables, create a query to create the new file.
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available. This works correctly
in FoxPro 2.6a for Macintosh.
Modification Type: | Major | Last Reviewed: | 12/11/1999 |
---|
Keywords: | kbprb kbprogramming KB166934 |
---|
|