paginationvb6

VB6 Paging using listview


I'm thinking if there's a way (a component or reference) to breakdown an adodb.recordlist (e.g. records selected in sql database) consist of huge number of records.

Then a textbox can be used to jump by the user to jump into the page he wants to view.

Just wanna acquire an idea on how can i write this in codes.


Solution

  • You can set the page size with the .PageSize property and jump to a specific page by setting the .AbsolutePage property.

    Here is an example.