Yet another question...

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

Guest

I need to do a calculation on a report but the calculation only needs to be
done if one of the fields reads Fanfold. I have tried to come up with a
formula for this but access keeps asking me for a number for Fanfold.

What I need is something to this effect.

If the Box Type field is Fanfold then ProductLength*Boxes Needed then add 4
then divide by 12 if it's not fanfold I just want a blank field.

As always any help would be appreciated.
 
IIf ([BoxType]=â€FanFoldâ€, ([ProductLength] * [BoxesNeeded] + 4 / 12),0)

Set the field format as
#;-#;""
 

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