I have a report in which there is a Budget field and an Actual field.
If the Budget field is = zero and the Actual field is > zero I want to set the Actual field to zero else leave the Actual field with its existing data intact.
The IIF expression is as follows :
=IIF([Budget] = 0,0,[Actual])
The expression is entered in the ControlSource of the Actual control field.
This expression generates a "#error" message in the Actual control field.
If the Budget field is = zero and the Actual field is > zero I want to set the Actual field to zero else leave the Actual field with its existing data intact.
The IIF expression is as follows :
=IIF([Budget] = 0,0,[Actual])
The expression is entered in the ControlSource of the Actual control field.
This expression generates a "#error" message in the Actual control field.