If then

  • Thread starter Thread starter CAKDH
  • Start date Start date
C

CAKDH

i have a calculated field that is optional with a check box above. can i
have an if the check box is yes then do the calculation if the check box is
no then value is 0.00? what would be the expression?
 
CAKDH said:
i have a calculated field that is optional with a check box above. can i
have an if the check box is yes then do the calculation if the check box
is
no then value is 0.00? what would be the expression?


Something like

=IIf([chkYourCheckBox], <your calculation here>, 0)
 
You will need to put that code in the OnCurrent event of the form and
in the afterupdate event of the checkbox.

Ron
 

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

Back
Top