Article ID: 224988
Article Last Modified on 10/15/2002
APPLIES TO
- Microsoft Visual FoxPro 6.0 Professional Edition
This article was previously published under Q224988
SYMPTOMS
The CREATE FROM command incorrectly assumes that the table used to create a new table needs a .dbf extension. For example, when using the following syntax:
CREATE [Table1] FROM [Table2]
Visual FoxPro mistakenly assumes that Table2 needs a .dbf extension added to it. If the file already has an extension, Visual FoxPro 6.0 appends the .dbf extension to the end of the table name; therefore, an error appears.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
MORE INFORMATION
Steps to Reproduce Behavior
Create a program that contains the following code:
USE HOME(2)+"\data\customer" COPY STRUCTURE EXTENDED TO test.STR USE CREATE customer2 FROM test.STR
- Run the program.
The last line of code causes the error:
Additional query words: KBDSE
Keywords: kbbug kbfix kbxbase kbdatabase kbvs600sp3fix KB224988