PRB: Space in CREATE FROM Field Name Causes Error (259000)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q259000 SYMPTOMS
If you accidentally add a space to a field name in a table created with the COPY STRUCTURE EXTENDED command, after creating the table with the CREATE FROM command, any immediate attempt to access that field (such as with a BROWSE statement) fails with the following error:
The data source for this object must be a variable reference.
If the table is in a database, any later attempt will fail with the same error. If it's a free table, closing the table and re-opening it causes Visual FoxPro to replace the space in the field name with an underscore.
REFERENCES
For more information about the CREATE FROM and COPY STRUCTURE EXTENDED commands, please see the Help files.
Modification Type: | Major | Last Reviewed: | 5/10/2003 |
---|
Keywords: | kbCodeSnippet kbDatabase kbnofix kbprb kbXBase KB259000 kbAudDeveloper |
---|
|