ACC2000: "No Current Record" Error Message When Setting Bookmark to LastModified (224932)
The information in 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).
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
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kberrmsg kbpending kbProgramming KB224932 |
---|
|