shabbarankers
Technical User
Hi,
Am I correct in thinking that I should be able to either create an SQL Expression Fields "value" which contains my SQL code and then use this on a report? Also are the joins in my tables relevant to the SQL query if the statement contains the join criteria?
For example I have tried to create an SQL Expression Fields value as below:
Am I correct in thinking that I should be able to either create an SQL Expression Fields "value" which contains my SQL code and then use this on a report? Also are the joins in my tables relevant to the SQL query if the statement contains the join criteria?
For example I have tried to create an SQL Expression Fields value as below:
Code:
SELECT `PO_Detail`.`PO`, `Source`.`Description`
FROM `Source` `Source` INNER JOIN `PO_Detail` `PO_Detail` ON `Source`.`PO_Detail`=`PO_Detail`.`PO_Detail`
[\code]
I get an error in compiling SQL expression. This code was copied from a temp report which I created to get me the values I was after. Can someone tell me what Im doing wrong please?
Thanks