To much records
To much records
I use a database with more than 15000 records in one Table.
I'm migrating from BDE to MYSQL and replaced TTable with TMYTABLE.
Now application is very slow even when I query for few fields.
TDBLOOKUPLISTBOX, where I show the data, has only 12 rows. Is it possible to limit the datarows and get new data wheen scrolling or searching in TDBLOOKUPLISTBOX?
FetchAll=true because otherwise I get a "Lost connection during query"-error
I'm migrating from BDE to MYSQL and replaced TTable with TMYTABLE.
Now application is very slow even when I query for few fields.
TDBLOOKUPLISTBOX, where I show the data, has only 12 rows. Is it possible to limit the datarows and get new data wheen scrolling or searching in TDBLOOKUPLISTBOX?
FetchAll=true because otherwise I get a "Lost connection during query"-error
Possibly MyDAC unintallation was unsuccessful. So, you have some files left from previous version of MyDAC on your hard drive. Try to uninstall MyDAC and remove all the files concerned to it. Then install last build of MyDAC one more time. To remove all vestiges of MyDAC, please follow these instructions:
1) Close IDE
2) Uninstall MyDAC
3) Search for MyAccess.*, DBAccess.*, mydac*.bpl, dac*.bpl etc files at your HDD and delete them
4) Remove from the project directory all files made by compiler and linker
5) Remove from the registry (HKCU\Software\Borland\Delphi\7.0\Known Packages) all the links to MyDAC packages (mydac*.bpl, dac*.bpl)
6) Run IDE and check that it is started without errors
7) Install MyDAC once more
1) Close IDE
2) Uninstall MyDAC
3) Search for MyAccess.*, DBAccess.*, mydac*.bpl, dac*.bpl etc files at your HDD and delete them
4) Remove from the project directory all files made by compiler and linker
5) Remove from the registry (HKCU\Software\Borland\Delphi\7.0\Known Packages) all the links to MyDAC packages (mydac*.bpl, dac*.bpl)
6) Run IDE and check that it is started without errors
7) Install MyDAC once more
Please try to open following files with Delphi with last MyDAC installed and report us in which cases the error appears:
1) VirtualTable demo (VirtualTable.dpr)
2) Lock demo (Lock.dpr)
3) Pictures demo (Pictures.pas) and data module in this demo
4) Data.pas from Pictures demo (do not open the project file itself)
5) your project and data module in it
6) data module of your project (do not open the project file itself)
Also supply us with some information:
1) which version of MyDAC do you use (Trial, Standard or Professional)
2) do you have in the data module of your project any dataset opened in design time
1) VirtualTable demo (VirtualTable.dpr)
2) Lock demo (Lock.dpr)
3) Pictures demo (Pictures.pas) and data module in this demo
4) Data.pas from Pictures demo (do not open the project file itself)
5) your project and data module in it
6) data module of your project (do not open the project file itself)
Also supply us with some information:
1) which version of MyDAC do you use (Trial, Standard or Professional)
2) do you have in the data module of your project any dataset opened in design time
Version: MyDAC 4.3.0 Delphi 7 Standard
all your demos are runnig without problems.
When I open my data module (lone or with project) at design time, I see the known errors.
I have my own Table class from TMyTable. I testet this component alone in a form and got the same problem. I will test my component.
all your demos are runnig without problems.
When I open my data module (lone or with project) at design time, I see the known errors.
I have my own Table class from TMyTable. I testet this component alone in a form and got the same problem. I will test my component.