PRB: CLEAR ALL Removes Back-Links from Data Environment Object (142394)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q142394 SYMPTOMS
If the CLEAR ALL command is issued with an open Data Environment Object,
the back-links of the tables contained in the Data Environment are
destroyed. Consecutive access of these tables will yield this error:
Table 'tablename.dbf' is not marked as belonging to the
'databasename' database. Would you like to create the
back link to mark it?
RESOLUTION
The tables must be opened exclusively to properly update the back links. If
the tables are not opened exclusively the following error will occur in the
Init event of the DataEnvironment class:
File must be opened exclusively.
To work around this behavior, be sure to release all DataEnvironment
objects before issuing the CLEAR ALL command.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | KB142394 |
---|
|