Hi All,
I tried using If and Eval function in MS Access while im getting the data in access however it is throwing a Syntax error.
My requirement is if the currency code is equal to GBP,USD,EUR,HKD the reporting currency column should have respective currency codes.
If other than GBP,USD,EUR,HKD the reporting currency column should have "OTH". While trying to implement this I used iif and eval function have had an syntax error.
The formula used is IIf(Eval([CURRENCY] In ("GBP","USD","EUR","HKD")),"AA","OTH") could anyone please let me know what's the issue with the formula I have used and also let me know what should be used.
Thanks
I tried using If and Eval function in MS Access while im getting the data in access however it is throwing a Syntax error.
My requirement is if the currency code is equal to GBP,USD,EUR,HKD the reporting currency column should have respective currency codes.
If other than GBP,USD,EUR,HKD the reporting currency column should have "OTH". While trying to implement this I used iif and eval function have had an syntax error.
The formula used is IIf(Eval([CURRENCY] In ("GBP","USD","EUR","HKD")),"AA","OTH") could anyone please let me know what's the issue with the formula I have used and also let me know what should be used.
Thanks