After update application start crashing when I use:
Code: Select all
Connection.OpenDatasets([table1, table2]);
if table1.FieldByName('t1').AsInteger = 0 then
ShowMessage('ID is empty!!!');
Code: Select all
table1.Open;
table2.Open;
if table1.FieldByName('t1').AsInteger = 0 then
ShowMessage('ID is empty!!!');
Code: Select all
First chance exception at $778CC42D. Exception class EListError with message 'List index out of bounds (0)'. Process Application.exe (16700)
Code: Select all
if table1.FieldByName('t1').AsInteger = 0 then