ACCESS to MYSQL Error Current Recordset does not support bookmarks

Posted on 2006-03-28
Last Modified: 2010-03-19
I am getting the following error and I have found nothing that fixes the problem.  I moved from ACCESS to MYSQL.

Here is the line it errors on.  I don't think rs.recordcount works either.  I have tried a DSNLess and DSN connection. Using for db.  It works fine in Access.

rs.absolutepage = currentpage

Here is my connection info.

function openrs(strsql)
  set rs=server.createobject("ADODB.Recordset") strsql, db, 3, 1
  set openrs=rs
end function
Question by:jdfulton
    LVL 27

    Expert Comment

    try to open with another parameters:
    rs.Open srtsql, db, adOpenKeyset, adLockOptimistic

    or (the same):
    rs.Open srtsql, db, 1,  3

    LVL 6

    Author Comment

    If I try that I get the following error.  Recordcounts always end up being -1 if I use 3, 1.  

    Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
    LVL 27

    Accepted Solution

    Do you mean 'recordcounts always -1 when you use 1, 3'?
    -1 is a normal valiue for recordcount for dynamic cursor type. Look here:


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    A lot of articles have been written on splitting mysqldump and grabbing the required tables. A long while back, when Shlomi ( had suggested a “sed” way, I actually shell …
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now