I've gone stupid (yet again)....
shouldn't MovePrevious be as simple as this?
Sub MovePrevRec
RecordSet.MovePrevious
End Sub
vbr>MovePrevRec
As long as I have created "RecordSet", which I am CERTAIN I have, why would MacroScheduler tell me this is "not allowed in this context" or various other errors.....
I am successfully using MoveFirst, MoveNext but can't seem to use MovePrevious....
I'm working on it, but will take any input....
MovePrevious
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
I believe the default cursor type in an ADO query is a forward only cursor. You may have to change the way you open the ADO connection.
Found this - it may help:
http://tutorials.aspfaq.com/8000xxxxx-e ... rrors.html
Found this - it may help:
http://tutorials.aspfaq.com/8000xxxxx-e ... rrors.html
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Actually, it's not Macro Scheduler that is telling you this, it's ADO or DAO that is telling you this. Depending on the type of recordset that is created, MovePrevious may or may not be available.
There are 4 types of recordsets: Table, DynaSet, Snapshot, Forward-only
Check out http://msdn.microsoft.com/library/defau ... ma0501.asp for a more elaborate discussion on this. It (among other things) states that a forward only type recordset is
Henk
There are 4 types of recordsets: Table, DynaSet, Snapshot, Forward-only
Check out http://msdn.microsoft.com/library/defau ... ma0501.asp for a more elaborate discussion on this. It (among other things) states that a forward only type recordset is
HTH,the default when you create a recordset in an ODBC workspace
Henk