devxlogo

SQL query results error

SQL query results error

Question:
To show my SQL query results in paged fashion, I used your article as reference. This error message appeared:
ADODB.Recordset error ‘800a0cb3’
The operation requested by the application is not supported by the provider.
I checked the specified code where the error was generated, and it was the RS.AbsolutePage property.
What should I do to fix this error?

Answer:
Make sure that you created the recordset with CreateObject and that you used the recordset’s Open method. If you don’t do this and use the connection’s execute method, the recordset doesn’t have the appropriate navigation ability to allow AbsolutePage (and the related properties) to work right.

devx-admin

Share the Post: