[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Why RS.AbsolutePage is not supported?

Posted on 2000-02-16
2
Medium Priority
?
392 Views
Last Modified: 2008-03-17
I'm using DSN-less Access database.
This error occurs when the following line is added to the code.

objPagingRS.AbsolutePage = iPageCurrent

Error:

ADODB.Recordset error '800a0cb3'

The operation requested by the application is not supported by the provider.

Pls advise why this application is not supported and any way to rectify it?
0
Comment
Question by:qiang8
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
daveamour earned 40 total points
ID: 2526639
It may be that you are using the wrong type of cursor for your recordset.  I beleive that certain cursor types do not support the AbSolutePage property.

For example the following line uses a Forward only cursor

rs.Open strSQL, objADO_ComInfo, adOpenForwardOnly, adLockPessimistic, adCmdText

There are other types of cursors available as follows

adOpenForwardOnly
adOpenKeyset
adOpenDynamic
adOpenStatic

Try changing the cursor to a different type.  For example to change to a Statit cursor you would use

rs.Open strSQL, objADO_ComInfo, adOpenStatic, adLockPessimistic, adCmdText

Note that these names are constants which are declared in ADOVBS.INC so if you do not have this file included in your asp page then refer to the cursors by number rather than name.  The numbers are as follows

adOpenForwardOnly..... 0
adOpenKeyset.......... 1
adOpenDynamic......... 2
adOpenStatic.......... 3

So again to open a recordset with a static cursor referring to it by number you would use this

rs.Open strSQL, objADO_ComInfo, 3, adLockPessimistic, adCmdText

Hope this helps

Dave


0
 

Author Comment

by:qiang8
ID: 2526681
Thanks a lot. It is due to improper use of cursor type.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

649 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