BUG: Validate Database Dialog Allows Choice of Invalid TableID: Q141910 3.00 3.00b 5.00 WINDOWS kbprg kbbuglist The information in this article applies to:
SYMPTOMSWhen Visual FoxPro detects that a table within a .dbc file has been deleted, the Locate file dialog box allows you to add an existing table from the same .dbc that has the identical structure as the deleted file. This file then appears in a Browse window with the name of the deleted file.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONIf you try to modify or browse a deleted table contained in a database, Visual FoxPro detects that the file no longer exist. The Locate File dialog box appears and asks for the location of the missing table. If you choose a table that is part of the database and has the same structure as the deleted file, Visual FoxPro accepts that table into the database under the name of the deleted table. Visual FoxPro does not detect that you are adding a table already contained in the database container back in under another name. Steps to Reproduce Problem 1. Set the default to the \Samples\Data subdirectory and open Customer.dbf. 2. Copy Customer.dbf to two files by typing the following in the Command 3. Create a database named Test.dbc.
4. Add the Test1 and Test2 tables to the Test database. 5. Type CLOSE ALL in the Command window to close all open files. 6. Open either File Manager or Explorer, and delete the Test2.dbf file. 7. In Visual FoxPro, open the Test.dbc, and double-click Test2.dbf. 8. A Validate Database dialog appears stating:
9. Click Locate, select Test1.dbf, and click OK.
Visual FoxPro opens Test1.dbf in a Browse window entitled Test2. However, the Locate dialog box will not add a table with a different structure from the same database or a table from another database. This triggers an error message. KBCategory: kbprg kbbuglist KBSubcategory: FxprgTable Additional reference words: 5.00 3.00 3.00b VFoxWin kbbuglist5.00 buglist3.00 buglist3.00b kbvfp300 kbvfp500 kbvfp600
|
Last Reviewed: August 9, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |