M
Morten Snedker
Hi folks,
I've tried googling and alot have had problems similar to mine. I've
tried resolving, but just can't get it to work.
A form showing af running list of orders is used to navigate to a
given record on the frmOrdre with this simple code:
Dim frm As Form
Set frm = Forms!frmOrdre
Dim rs As Recordset
Set rs = frm.RecordsetClone
rs.Find "ID=" & Me.ID
frm.Bookmark = rs.Bookmark
rs.Close
DoCmd.Close acForm, Me.Name
On frm.Bookmark = rs.Bookmark it stops with
"Runtime error 2001:
You cancelled the previous operation."
There are NO pending jobs on frmOrdre (he states with selfconfidence)
- Dirty is False. No combos, lists or alike are in edit/changed mode.
rs.EOF and rs.BOF are both false and the rs.Recordcount states +4000
records.
I'm running an Access 2002 ADP against SQL-Server 2000.
Moving the mouse over the frm.Bookmark text gives the pop-up text
"Can't get value of this property" (freely translated from Danish).
The funny thing (ha ha): SOMETIMES it works...but mostly doesn't.
Any ideas?
Regards /Snedker
I've tried googling and alot have had problems similar to mine. I've
tried resolving, but just can't get it to work.
A form showing af running list of orders is used to navigate to a
given record on the frmOrdre with this simple code:
Dim frm As Form
Set frm = Forms!frmOrdre
Dim rs As Recordset
Set rs = frm.RecordsetClone
rs.Find "ID=" & Me.ID
frm.Bookmark = rs.Bookmark
rs.Close
DoCmd.Close acForm, Me.Name
On frm.Bookmark = rs.Bookmark it stops with
"Runtime error 2001:
You cancelled the previous operation."
There are NO pending jobs on frmOrdre (he states with selfconfidence)
- Dirty is False. No combos, lists or alike are in edit/changed mode.
rs.EOF and rs.BOF are both false and the rs.Recordcount states +4000
records.
I'm running an Access 2002 ADP against SQL-Server 2000.
Moving the mouse over the frm.Bookmark text gives the pop-up text
"Can't get value of this property" (freely translated from Danish).
The funny thing (ha ha): SOMETIMES it works...but mostly doesn't.
Any ideas?
Regards /Snedker