I need help using the IIF function

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.
 
G

Guest

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

IFF (In A Querry) 2
Still unable to run successful query 2
nested iif function 4
Lab Value with iif function. 1
Query IIF function 3
IIF function with * 7
IIF function, multiple IIF 0
Busted IIf function 3

Top