I have an application when at the click of a button all records from a database table get loaded into a cxGrid (via tadquery / datasource). The number of records will increase as users insert them.
I was just wondering if there is anything I need to do or should do to make sure that it doesn't take too long to load all records.
This is what I'm doing when button is clicked:
with query1 do
begin
Close;
SQL.Clear;
SQL.Text := 'SELECT * FROM DBA.Table1;
Open;
end;
Suggestions would be appreciated.