IIF Statement Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alex Doffer
    New Member
    • Mar 2012
    • 1

    IIF Statement Problem

    I have created an invoice report and am using the following IIF expression for sales tax: =IIf([TaxStatusID]=1, [ctlSubtotal]*.075,0)

    Whenever I switch to Report View, it keeps prompting me to Enter Parameter Value for TaxStatusID.

    I used the expression =IIf([TaxStatusID]=1, "Taxable", "Exempt") in a query report before and it worked fine.

    How do I fix this?
  • Mihail
    Contributor
    • Apr 2011
    • 759

    #2
    Check again the field name and/or the control name for TaxStatusID or even if this control exist in your report.

    Comment

    Working...