![]() |
|
#1
|
|||
|
|||
|
from Access DB through ADO to TStringGrid(too slow)... How can I make better speed of my app? searching record... adding to stringgrid and so on... Maybe I should use other custom grid component...
oasis@eurosoft.lv http://oasis.yo.lv beginner!
|
|
#2
|
|||
|
|||
|
In your Access DB are you using "linked tables" (unfortunatelly I don't know how to write in english, but maybe you understand)?
Other question... your Access DB file is through a network, or is a local file? Both conditions slow your application speed. <cr> if it helped please accept</cr> Paullus Martins de Sousa Nava Castro Brazil (Brasil) Brasília - DF |
|
#3
|
|||
|
|||
|
file is no my local drive...
I am using TADODataSet component and using with connection string microsoft Jet engine 4.0 oasis@eurosoft.lv http://oasis.yo.lv beginner!
|
|
#4
|
|||
|
|||
|
my access DB is indexed...
oasis@eurosoft.lv http://oasis.yo.lv beginner!
|
|
#5
|
|||
|
|||
|
my app go through 1000 records in 300 ms
is it good? oasis@eurosoft.lv http://oasis.yo.lv beginner!
|
|
#6
|
|||
|
|||
|
In my opinion is fine, though I'm not an DBA.
hehehe... In time: indexed is different from what I wanted to ask you. If you want speed you MUST index your search fields, the price is the size of the database getting bigger :-) I asked you if your DB is linked to another Access DB file searching on tables from it. (Maybe you understand now). Other point: try using ADOQuery. In that you can especify your search conditions (SQL statement) making your program faster. <cr> if it helped please accept</cr> Paullus Martins de Sousa Nava Castro Brazil (Brasil) Brasília - DF |
|
#7
|
|||
|
|||
|
No I am using just one access DB and it is 5,5 mb big...
You say that I need to use ADO querry? oasis@eurosoft.lv http://oasis.yo.lv beginner!
|
|
#8
|
|||
|
|||
|
No... i don't NEED o use ADOQuery, it's recommended. Actually I never worked with TADODataSet. After talked to you I looked at it. It seems to have the same funcionality of ADOQuery. So it's fine.
As I said... I think the time response is allright. <cr> if it helped please accept</cr> Paullus Martins de Sousa Nava Castro Brazil (Brasil) Brasília - DF |
![]() |
| Thread Tools | |
| Display Modes | |
|
|