M
Morten Snedker
Me.RecordSource = "SELECT * FROM vwVVSStikprøve_Hovedmenu"
Set rs = Me.RecordsetClone
rs.Find "esfjnr=" & iJnr
Me.Bookmark = rs.Bookmark
Produces 3021: EOF or BOF on the last line with the Bookmark. EOF is
the case.
If I debug the code and step through the lines one at the time, the
error does not occur, and it bookmarks fine.
The recordset holds +9,000 records, so it could be a question of the
underlying datasource not being ready..couldn't it?
Any ideas as how to get around the problem? I was thinking of a timer
thing, but seems like a not so beautiful solution...
It is an ADP running against SQL-Server 2005, using ADO 2.8.
Regards /Snedker
Set rs = Me.RecordsetClone
rs.Find "esfjnr=" & iJnr
Me.Bookmark = rs.Bookmark
Produces 3021: EOF or BOF on the last line with the Bookmark. EOF is
the case.
If I debug the code and step through the lines one at the time, the
error does not occur, and it bookmarks fine.
The recordset holds +9,000 records, so it could be a question of the
underlying datasource not being ready..couldn't it?
Any ideas as how to get around the problem? I was thinking of a timer
thing, but seems like a not so beautiful solution...
It is an ADP running against SQL-Server 2005, using ADO 2.8.
Regards /Snedker