Is there anyway to dynamically pass values into SQL expressions for CR-10?
For example - Lets say I have the following SQL Query
The reference back to the main tables in the CASE statement is what has me stumped. Any way to easily do this in CR10, maybe a formula of some sort? Any help is appreciated.
Thanks
For example - Lets say I have the following SQL Query
Code:
SELECT A.field1, B.field2,
(case when C.field3 is null
then
(select D.field4 from tblD D
where D.field4 = C.field4
)
else C.field3 end )
From tblA A, tblB B, tblC C
The reference back to the main tables in the CASE statement is what has me stumped. Any way to easily do this in CR10, maybe a formula of some sort? Any help is appreciated.
Thanks