[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Err 3167- Record is deleted @ MeveNext

Posted on 2011-10-20
Medium Priority
Last Modified: 2012-05-12
Hello Experts,

I have the following structure, which I use routinely:

Do While Not rs.EOF

   'other code


i've been reciving lately Err 3167- Record is deleted. on my rs.MoveNext.  What could this be? Can my db be corrupt?
Question by:APD_Toronto
LVL 75

Accepted Solution

DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 668 total points
ID: 37002082
I would suggest doing a Compact & Repair now ... to see if that clears it up ...

LVL 71

Assisted Solution

Qlemo earned 668 total points
ID: 37002236
RS.MoveNext should not result in such an error message. Trying to access the data of a (meanwhile) deleted record will bring up that error, but nothing else should.
LVL 120

Assisted Solution

by:Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1) earned 664 total points
ID: 37002271

in your codes

Do While Not rs.EOF

   'other code ?? what codes are executed here ? are you deleting records ?


LVL 75
ID: 37002628
"RS.MoveNext should not result in such an error message."
I don't think that can be guaranteed ...


Author Closing Comment

ID: 37003211
I copied the table into a new one and that did it.

thanks all

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Sometimes MS breaks things just for fun... In Access 2003, only the maximum allowable SQL string length could cause problems as you built a recordset. Now, when using string data in a WHERE clause, the 'identifier' maximum is 128 characters. So, …
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question