HELP HELP HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • Thread starter TehSparrow via AccessMonster.com
  • Start date
T

TehSparrow via AccessMonster.com

I Have included all otehr required formulae for task 4 (e) but i cant get
this one to work. The Code looks correct so im a little lost!

Outstanding Funds: IIf([Paid]="Yes","N/A",[Cost])

Paid Field is a yes/no tickbox, and cost is a field that holds how much the
esson will cost. Im good with IF Statements in Excel, but this doesnt make
the same logical sense!

Any help will be greatly Received!!!!!

Cheers

Sparrow
 
K

Keith Wilby

TehSparrow via AccessMonster.com said:
I Have included all otehr required formulae for task 4 (e) but i cant get
this one to work. The Code looks correct so im a little lost!

Outstanding Funds: IIf([Paid]="Yes","N/A",[Cost])

Paid Field is a yes/no tickbox, and cost is a field that holds how much
the
esson will cost. Im good with IF Statements in Excel, but this doesnt make
the same logical sense!

Any help will be greatly Received!!!!!

Try IIf([Paid] = -1,"N/A",[Cost])

Keith.
www.keithwilby.com
 
D

Douglas J Steele

Keith Wilby said:
You're welcome. For yes/no fields, -1 = "Yes" and 0 = "No".

You can also use the intrinsic constants True and False (not in quotes)
 

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

Top