ACCESS to MYSQL Error Current Recordset does not support bookmarks

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 db.open for db.  It works fine in Access.

rs.absolutepage = currentpage

Here is my connection info.

function openrs(strsql)
  set rs=server.createobject("ADODB.Recordset")
  rs.open strsql, db, 3, 1
  set openrs=rs
end function
LVL 6
jdfultonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

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



0
jdfultonAuthor Commented:
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.
0
NopiusCommented:
Do you mean 'recordcounts always -1 when you use 1, 3'?
-1 is a normal valiue for recordcount for dynamic cursor type. Look here: http://www.w3schools.com/ado/prop_rs_recordcount.asp

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.