PRB: Closing Table Loses Changes with Table Buffering (155936)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q155936 SYMPTOMS
If you use a CLOSE or USE command to close an open table, and that table
uses Table Buffering and contains uncommitted changes, Visual FoxPro
closes the table and does not save the uncommitted changes. Additionally,
no error dialog box appears when you close the table. This behavior is
different from Visual FoxPro versions 3.0 and 3.0b, which displays an
error dialog box if you attempt to close a table with uncommitted
changes.
WORKAROUND
Use the TABLEUPDATE() function to force Visual FoxPro to save the changes
before closing the table.
STATUS
This behavior is by design.
REFERENCES
Visual FoxPro 5.0 Help file; search on: "CURSORSETPROP(),"
"GETNEXTMODIFIED()," and "TABLEUPDATE()"
Visual FoxPro 5.0 Readme.hlp file; search on: "Using Visual FoxPro," then
"Closing a Cursor with an Uncommitted Record"
Modification Type: | Major | Last Reviewed: | 10/15/2003 |
---|
Keywords: | KB155936 |
---|
|