ADOPageControl

By | 2002-06-01

Have you ever wanted data to be returned a page at a time? For example the data you requested returns 200 rows and you want to return them to the user 1 page at a time? Well now you can!
PS!! Do not forget to rate this software. This results in more code!! Thanks.

Original Author: Barry Pranklin

Inputs

ConnectString As String
Sql As String
ShowPage As Long
PageSize As Long

Assumptions

You will need these objects. They come with VB6
Microsoft ActiveX data objects 2.1 Library
Microsofr Remote Data services server 2.1 Library

Returns

Rs As ADODB.Recordset
ErrorC As String
PageCount As Long

Side Effects

None that I know of.

Attachments

FileUploadedSize
CODE_UPLOAD30601252000.zip9/3/2020 3:45:00 PM4114
Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.