Calculate sales tax

L

Lori

I know it must be easy but for the life of me I can't seem to write the
expression properly. How would I write an expression that would look at a
text field and if it has NJ entered, calculate the subtotal *7%?
 
J

John Spencer

IIF([Some State field] = "NJ",.07, 0) * [Some Other Field]


'====================================================
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
'====================================================
 
Top