applehouse
Member
Hi,
I wanted to know your opinion about the following code to change the order of the records, is this the fastest way to do, or might there be another better method?:
procedure TMainForm.Button5Click(Sender: TObject);
var strSQL: string;
begin
with datamodule1 do begin
strSQL := 'SELECT a.*,a.rowid FROM lts_po a ORDER BY ID, DWGID';
TOracleDataset1.sql.clear;
TOracleDataset1.sql.add(strSQL);
TOracleDataset1.refresh;
end;
end;
I wanted to know your opinion about the following code to change the order of the records, is this the fastest way to do, or might there be another better method?:
procedure TMainForm.Button5Click(Sender: TObject);
var strSQL: string;
begin
with datamodule1 do begin
strSQL := 'SELECT a.*,a.rowid FROM lts_po a ORDER BY ID, DWGID';
TOracleDataset1.sql.clear;
TOracleDataset1.sql.add(strSQL);
TOracleDataset1.refresh;
end;
end;