|
-
Jun 22nd, 1999, 12:29 AM
#1
Thread Starter
New Member
How can you open a recordset so you can use MovePrevious and MoveLast on the recordset?
I have tried adOpenDynamic, adOpenKeySet, and adOpenStatic. When I try to MovePrevious it say, "Run-time error 3219. The operation requested by the application is not allowed in this context" and when I try MoveLast it say, "The rowset does not support fetching backwards"
I am using mySQL. I open the connection without using a DSN.
-
Jun 22nd, 1999, 06:58 PM
#2
Thread Starter
New Member
I solved the problem. If anyone wants to know the solution here it is.
To use MoveLast and MovePrevious with and ADO connection and mySQL you must use object.CursorLocation = adUseClient. Then to two aforementioned cursor movements work.
This has to be declared before an connection is opened.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|