|
-
Apr 27th, 2000, 09:25 PM
#1
Thread Starter
Hyperactive Member
I have a DBGrid and ADODC connected to an two tables on an Access DB on a Novell server. One table has about 10,000 records and the other around 150,000. Access can run the query in under a minute, but with ADODC the program appears to lock up and takes over five minutes to retrieve just 30-50 records.
I have seen other posts about similar problems but no one seems to know the solution. Has anyone a CLUE as to how to speed up ADO?
Thanks in advance,
Andrew
-
Apr 28th, 2000, 02:58 AM
#2
Hyperactive Member
Is Access running under a minute if you run it from the client-side or the server? If you're issuing a SQL statement in VB from the client-side, all 150,000+ records are being returned to the client where the filtering occurs. If you were in SQL Server, you could use a Stored Procedure to do the filtering on the server. In Access, you maybe could use a parameter query. You need something to do the bulk of that processing on the server where you have greater resources.
-
Apr 29th, 2000, 12:17 AM
#3
Thread Starter
Hyperactive Member
Hi Wade, thanks for the tips. Being inexperienced with stored procedures, do you know of anywhere where I could find an example of using one to connect to an Access DB from the client side in VB? I've changed the code around and cut the hang time down, but it still locks for 2-3 minutes.
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
|