PRB: SEEK Returns Different Results Depending on No. of Fields
Article ID: 191637
Article Last Modified on 5/12/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 3.0b Standard Edition
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 5.0a
- Microsoft Visual FoxPro 6.0 Professional Edition
This article was previously published under Q191637
SYMPTOMS
The SEEK command returns different results depending on the number of
fields in a table. If there are 62 or less fields in a table, the SEEK
command returns false when another user unmarks a record that has been
marked for deletion . If there are 63 or more fields in the table, the SEEK
command returns true. The expected result would be that SEEK would return
false. Make sure that the SET REFRESH is set to zero and that SET DELETED
is on.
CAUSE
This seems to occur because FoxPro reads the table from the hard drive and
retrieves the data if there are more than 62 fields in the table. If there
are 62 fields or less, then FoxPro reads the data from the cache.
STATUS
This behavior is by design.
Additional query words: kbVFp300b kbVFp500 kbVFp500a kbVFp600 kbXBase KbDBFDBC kbDatabase
Keywords: kbprb KB191637