M
Mark
Hi
Using Access XP with MSDE (2000) backend.
I am opening a form and naavigating to a specific record (based on the
openargs, not conditions as when I use conditions an activex control
displays in the wrong place - but thats another story).
Anyway, there are no filters on the form and I have stepped through the code
to prove that a) the recordset is populated and b) the record I'm looking
for exists in that recordset. However, I keep getting an error on the last
line "Me.Bookmark = rs.Bookmark" saying "Error 3021: Either BOF or EOF is
True, or the current record has been deleted". If I step back up to "Set rs
= Me.RecordsetClone" and run from there the form loads ok at the correct
record...?
findSubjectID = CLng(Me.OpenArgs)
Set rs = Me.RecordsetClone
rs.MoveLast
rs.MoveFirst
rs.Find "subjectID=" & findSubjectID
Me.Bookmark = rs.Bookmark
This happened last night and I'm not in work today so I can't play, but...
Before leaving I tried to take a copy of the backend. I was unable to stop
MSDE and had to reboot the machine first. Is it possible this is just down
to a glitch on the server?
Cheers
Mark
Using Access XP with MSDE (2000) backend.
I am opening a form and naavigating to a specific record (based on the
openargs, not conditions as when I use conditions an activex control
displays in the wrong place - but thats another story).
Anyway, there are no filters on the form and I have stepped through the code
to prove that a) the recordset is populated and b) the record I'm looking
for exists in that recordset. However, I keep getting an error on the last
line "Me.Bookmark = rs.Bookmark" saying "Error 3021: Either BOF or EOF is
True, or the current record has been deleted". If I step back up to "Set rs
= Me.RecordsetClone" and run from there the form loads ok at the correct
record...?
findSubjectID = CLng(Me.OpenArgs)
Set rs = Me.RecordsetClone
rs.MoveLast
rs.MoveFirst
rs.Find "subjectID=" & findSubjectID
Me.Bookmark = rs.Bookmark
This happened last night and I'm not in work today so I can't play, but...
Before leaving I tried to take a copy of the backend. I was unable to stop
MSDE and had to reboot the machine first. Is it possible this is just down
to a glitch on the server?
Cheers
Mark