Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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).

↑ Back to the top


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.

↑ Back to the top


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
				

↑ Back to the top


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
				

↑ Back to the top


Status

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

↑ Back to the top


Keywords: KB224932, kbprogramming, kbpending, kberrmsg, kbbug

↑ Back to the top

Article Info
Article ID : 224932
Revision : 4
Created on : 10/11/2006
Published on : 10/11/2006
Exists online : False
Views : 358