I am receiving a -1 for my recordCount property in a query that is opened like:
Set objConns = Server.CreateObject ("ADODB.Connection" )
set objResps = Server.CreateObject ("ADODB.recordset" )
objResps.LockType = adLockOptimistic
objResps.CursorType = adOpenKeyset
objResps.Open thisQuery, objConns
I can't do a moveLast or a movePrevious. Everything I have read says that the Cursor type and Lock type determines this. As to what I have read my query should work, but it doesn't. I have tried adOpenDynamic
Any ideas?
Thanks in advance,
Jerry
Jerry Scannell
Set objConns = Server.CreateObject ("ADODB.Connection" )
set objResps = Server.CreateObject ("ADODB.recordset" )
objResps.LockType = adLockOptimistic
objResps.CursorType = adOpenKeyset
objResps.Open thisQuery, objConns
I can't do a moveLast or a movePrevious. Everything I have read says that the Cursor type and Lock type determines this. As to what I have read my query should work, but it doesn't. I have tried adOpenDynamic
Any ideas?
Thanks in advance,
Jerry
Jerry Scannell