Hello!
I currently have an ADODB.Recordset connection with my SQL Server 2000 database, which then runs an SQL Select statements, which retrieves a recordset from the database, i then have a Do...while Loop which loops thru the recordset and outputs the results onto the webpage, the problem is, i could have hundreds and maybe thousands for records which are being retrieved, which slows retrieval alot, and also gives a very long and confusing list of records, is there any way to do the ff:
1. Limit the number of records being output to maybe
50 records/page
2. Have a "Next" button to view retrieve the next set
of records.
I am trying to simulate what we see in a typical Search Engine, you type in a key work, click "Search", it then brings back the first 10 sets of records, then clicking "Next" will retrieve the next 10 sets of records.
Any help would be appreciated!
I currently have an ADODB.Recordset connection with my SQL Server 2000 database, which then runs an SQL Select statements, which retrieves a recordset from the database, i then have a Do...while Loop which loops thru the recordset and outputs the results onto the webpage, the problem is, i could have hundreds and maybe thousands for records which are being retrieved, which slows retrieval alot, and also gives a very long and confusing list of records, is there any way to do the ff:
1. Limit the number of records being output to maybe
50 records/page
2. Have a "Next" button to view retrieve the next set
of records.
I am trying to simulate what we see in a typical Search Engine, you type in a key work, click "Search", it then brings back the first 10 sets of records, then clicking "Next" will retrieve the next 10 sets of records.
Any help would be appreciated!