Alex L
2008-01-03 10:37:41 UTC
Dear Sir,
I use D6 update patch 1+mysql 5.0. using dbexpress
Here is the setup:
SQLConnection
|-- SQLdataset
|-- DataSetProvider
|-- ClientDataSet
|-- Datasource
The table have more that 60000 records.
In ClientDataSet , I set the packetrecords = 1 to speed up the time to open
the table. and I use the
"ClientDataSet1.FindNearest([trim(Edit1.Text)]);" as findkey the record.
but the programs try to load
the dataset into the memory and the system resource are eat up by the
dataset.
How can I to pervent those happen? Thanks.
the programs
I use D6 update patch 1+mysql 5.0. using dbexpress
Here is the setup:
SQLConnection
|-- SQLdataset
|-- DataSetProvider
|-- ClientDataSet
|-- Datasource
The table have more that 60000 records.
In ClientDataSet , I set the packetrecords = 1 to speed up the time to open
the table. and I use the
"ClientDataSet1.FindNearest([trim(Edit1.Text)]);" as findkey the record.
but the programs try to load
the dataset into the memory and the system resource are eat up by the
dataset.
How can I to pervent those happen? Thanks.
the programs
--
Regards
Alex Leung
Regards
Alex Leung