Home Devices
New Blog Posts: Merging Reports - Part 1 and Part 2

lTableJoin.LocalField.SQLString;

edited March 2003 in Devices
Code form daSQL.pas file in Line number 1938.. in procedure
BuildSQL92JoinExpression.
I have a AV in the code below.
{add join conditions to remainder of from clause}
for liIndex2 := 0 to lTable.TableJoinCount - 1 do
begin
lTableJoin := lTable.TableJoins[liIndex2]; //returns LocalField
blank

lsLocalField := lTableJoin.LocalField.SQLString;
lsForeignField := lTableJoin.ForeignField.SQLString;
lsOperator := daJoinOperatorToString(lTableJoin.Operator);


Delphi4.0.
TableA is joined on TableB with field xx.
After I add field to Selected List and try to click on the Finish button I
got AV in address xxxx.

What I am missing here.It happens only with one table.

Thanks
-Bhoj
x256

Comments

This discussion has been closed.