G
Guest
I am printing a report from a table which includes the fields Account Type (which can be 1 or 2) and Actual Period (which can be positive or negative). If the account type is 2 I want to print Actual Period with the opposite sign.
I have created a calculated field in the detail section with a control source as follows :
iif([Account Type]=1,[Actual Period],[Actual Period]*-1)
When I run the report I get #Error in the calculated field.
[Actual Period] and [Account Type] are both bound controls in the detail section, although they are both invisible.
Can anyone think what I could be doing wrong ?
I have created a calculated field in the detail section with a control source as follows :
iif([Account Type]=1,[Actual Period],[Actual Period]*-1)
When I run the report I get #Error in the calculated field.
[Actual Period] and [Account Type] are both bound controls in the detail section, although they are both invisible.
Can anyone think what I could be doing wrong ?