Master - Details
Posted: Fri 15 Dec 2006 08:17
In my old version 3.50 this works - after upgrade to 4.40 i have got the following problem
A simple SQL
Select *
from TableA, TableB
Where
TableA.Field1 = TableB.Field1
and
TableA.Field1 = :Field1
I get the error : Field1 is ambiguous
Masterdatasource - has Field1
A look in the DBMoitorer
Shows that the real SQL send to MySql is
Select *
from TableA, TableB
Where
( TableA.Field1 = TableB.Field1
and
TableA.Field1 = :Field1) and Field1 = :Field1
What to do
/Per
A simple SQL
Select *
from TableA, TableB
Where
TableA.Field1 = TableB.Field1
and
TableA.Field1 = :Field1
I get the error : Field1 is ambiguous
Masterdatasource - has Field1
A look in the DBMoitorer
Shows that the real SQL send to MySql is
Select *
from TableA, TableB
Where
( TableA.Field1 = TableB.Field1
and
TableA.Field1 = :Field1) and Field1 = :Field1
What to do
/Per