I have the iif statement listed below in the ControlSource of a text box in the detail band of a report, and I keep getting a Runtime error 3075 syntax error (Comma). I've used iif statements before and I pasted this one in a query and it ran and gave me the correct results. What's the secret to get it to run in a report?
iif([Prod_List] like "*Compact",[Weigh_Net],0)
iif([Prod_List] like "*Compact",[Weigh_Net],0)