Link to home
Start Free TrialLog in
Avatar of Laura Sheldon
Laura SheldonFlag for United States of America

asked on

Access 2007, Using a Null value to change another field to 0

Using the following, I'm trying to force a 0 value into the [BillDt-BillPd] field if the [Bill Paid Date] field is empty. I've tried Null as is demonstrated, 0, IsNull before [Bill Paid Date] & NZ before [Bill Paid Date], none of which worked.

Over30: Iif([Bill Paid Date]=Null,[BillDT-BillPd]=0,IIf([BillDt-BillPd]<30,0,IIf([BillDt-BillPd]>30,[BillDt-BillPd]-30)))

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of sameer2010
sameer2010
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Laura Sheldon

ASKER

I think that worked! Thanks!