Results 1 to 2 of 2

Thread: Cursor movement in a Recordset using ADO

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 1999
    Location
    kaysville, Ut, US
    Posts
    13

    Post

    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.

  2. #2

    Thread Starter
    New Member
    Join Date
    Jun 1999
    Location
    kaysville, Ut, US
    Posts
    13

    Post

    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
  •  



Click Here to Expand Forum to Full Width