FIX: Pack Closes Index File But Does Not Update It (135040)
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 Q135040 SYMPTOMS
When Visual FoxPro packs a table to remove deleted records, any
non-structural index open at the time is closed. However, when a program
subsequently uses the table that depends on its indexed order, the program
will not perform as expected and may give unexpected error messages.
When Visual FoxPro packs a table to remove deleted records, any regular
structural compound index (one with the same name as the
table and with a .cdx extension) open at the time is not closed.
This is different from the behavior of previous versions of FoxPro.
WORKAROUND
Explicitly re-open the index file and use the REINDEX command before
proceeding with the program.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. The problem has been fixed in
Visual FoxPro 5.0.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | kbBug kbfix kbvfp500fix KB135040 |
---|
|