Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-Time-Error '2147217885(80040e23)': Record is Deleted

Status
Not open for further replies.

PL01

Technical User
Jun 9, 2008
57
US
Access 2003 VBA record set routine sometimes bugs out with error message:

"Run-Time-Error '2147217885(80040e23)': Record is Deleted"

Point in routine error occurs is below:

Dim myConnectionAV As ADODB.Connection
Set myConnectionAV = CurrentProject.Connection
Dim myRecordsetAV As New ADODB.Recordset
myRecordsetAV.ActiveConnection = myConnectionAV
myRecordsetAV.Open "TempAvailable", , adOpenDynamic, adLockOptimistic
myRecordsetAV.MoveFirst
While Not myRecordsetAV.EOF
(here) AFvar = myRecordsetAV.Fields("Face").Value

Any idea what is going on here?
 
If you put a brake on the last line of your code, what's the value of [tt]myRecordsetAV.Fields("Face").Value[/tt] ?


---- Andy

There is a great need for a sarcasm font.
 
I put a debug.print there but what turns up seems normal..."Don Mateo #11" (without quotation marks - its the product name)...why would this cause a run time error?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top