I am using CR 8.5. Have the following sql statement that returns a row when I run it in Sql Query. But i get Sql errors when I try to put it into a SQL expression in CR.
select sum(iAmount) from voucher WHERE iDeviceID in(select iDeviceID from Devices WHERE strDeviceType ='CT')
wht am i doing wrong?
select sum(iAmount) from voucher WHERE iDeviceID in(select iDeviceID from Devices WHERE strDeviceType ='CT')
wht am i doing wrong?