|
-
Jun 23rd, 2000, 11:40 AM
#1
Thread Starter
New Member
Restricting the number of records in ADODB recordset is possible by using property 'MaxRecords', but it works only with SQL Server database and doesn't work with MS-Access database. Can anyone suggest a way to make it working. Please be sure that combination is ADODB, MS-Access database and linked with MS-Access DSN. Awaiting solution
Shreekant Bilurkar
-
Jun 23rd, 2000, 11:29 PM
#2
Guru
interesting.....I'm very surprised that the Jet driver doesn't support this!
http://support.microsoft.com/support...-US&SD=gn&FR=0
-
Jun 26th, 2000, 02:51 AM
#3
Junior Member
Have u tried using SELECT TOP [no of records] statement?
Example:
rst.open "SELECT TOP 10 * FROM MyTable WHERE ID = 3",conn,adOpenDynamic,......
effectively returns 10 records basing on the criteria.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|