I need help using the IIF function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone please help with this question.

I've created a query and I need to add a calculated field named MonthlyDue.
Use the IIf function to set the MonthlyDue field value to the MonthlyFee
value for MembershipStaus field values of Active and to zero in all cases.

I just can't figure this one out.
 
I'm not sure that exactly what you need, but you can use the idea to fix it

MonthlyDue : IIf(MembershipStaus = "Active" , [MonthlyFee] ,0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top