john230873
Programmer
I have a SH (Sale_Headers) table and a ST (Sales_Trans) table. I have link the datasource of SH to the Table of ST so that only the transactions of that SH are shown. I am using MSSQL for the database so I was able to monitor the statements. I would have thought that Delphi would do some sort of where's clause on the ST table at the database end but it appears to lookup all the transactions then filter them out its self. As I am looking for speed this is not the best option. Also I am only looking at some fields as chosen by the Table field editor, but the ADOTable is still performing a "select * " is this normal.