BUG: Changes in an ISAM Table Not Seen by DAO

Last reviewed: October 29, 1996
Article ID: Q158230
The information in this article applies to:
  • Microsoft Visual C++, 32-bit Edition, version 4.2

SYMPTOMS

A table-type or dynaset recordset may not see changes made by another recordset even though the page timeout setting (set in the registry) has expired for that ISAM. The internal recordset cache will not reflect the changes of the table. This happens with DAO ISAM types such as FoxPro and Paradox.

RESOLUTION

The only known way to get the recordset to successfully refresh the cache is to call MoveFirst() for the recordset or move a large number of records ahead in the recordset so that the cache gets refreshed.

If you choose to call MoveFirst() to refresh the cache, you can get the current record position by calling CDaoRecordset::GetBookmark() and then calling CDaoRecordset::SetBookmark() after the call to MoveFirst() to get back to the record you were on. At that point, the record contains the new contents.

STATUS

Microsoft has confirmed this to be a bug in DAO 3.0 version 3.000.2627. Microsoft will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional reference words: 4.00 4.10 4.20 kbdsd dbase IISAM pagetimeout
KBCategory: kbprg kbbuglist
KBSubcategory: MfcOLE



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.