Microsoft KB Archive/224932

= ACC2000: "No Current Record" Error Message When Setting Bookmark to LastModified =

Article ID: 224932

Article Last Modified on 10/11/2006

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q224932





Moderate: Requires basic macro, coding, and interoperability skills.

This article applies only to a Microsoft Access database (.mdb).



SYMPTOMS
In Microsoft Data Access Objects (DAO), if you set the Bookmark property to LastModified, you may receive the following error message:

No Current Record.



CAUSE
You may receive this error if you are adding many records to a large recordset, and you try to set the Bookmark property to LastModified, as in the following example: MyRecordset.Bookmark = MyRecordset.LastModified



RESOLUTION
Use the MoveFirst or MoveLast method before you set the bookmark to LastModified, as in the following example: MyRecordset.MoveFirst MyRecordset.Bookmark = MyRecordset.LastModified



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: pra

Keywords: kbbug kberrmsg kbpending kbprogramming KB224932

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.