|
-
Aug 23rd, 2000, 02:45 PM
#1
Thread Starter
New Member
I have a Access Database with 1 millon of records and it have 460 Mb.
1) In one project I have a dao control conect to a datagrid.
The source of dao control have a SQL like select * from table where (yearmonth = 200001).
When I run the aplication, I have a fast response from the database. The response is immediately
2) If I use a ADO control conect to a datagrid, with the same SQL, the aplication have a big delay (1 or 2 minutes)depending of the SQL.
I change some parameters from the conection of the ADO but never have a fast response from the database like a DAO control
Any Idea???
-
Aug 23rd, 2000, 02:49 PM
#2
Monday Morning Lunatic
What open mode are you using for the ADO query?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 23rd, 2000, 03:40 PM
#3
Thread Starter
New Member
I create a environment, use a connection with microsoft jet 4.0 OLE DB Provider.
After that I create a command with a SQL command.
In the advance parameter I use a Recordset and a cursor over the client
-
Aug 24th, 2000, 12:26 PM
#4
Monday Morning Lunatic
Try using a server-side cursor.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 24th, 2000, 01:32 PM
#5
Thread Starter
New Member
With server-side cursor.
Using a server-side cursor I dont obtain any records.
When use a server-side cursor, the data grid appear in blank
Julián
-
Aug 24th, 2000, 01:58 PM
#6
Frenzied Member
Is the database on some machine other than yours? If so you could try making a database that has links to the one with data and open the one that contains the links...
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
|