Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIF expression

Status
Not open for further replies.

dunkster

Technical User
Jan 23, 2003
14
AU
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.
 
Use an unbound field instead, not the original [actual] field
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top