need help on a yes and no exjpression

N

Nokia

I have a form that uses tax rate information. I am trying
to set a tax rate depending on a yes/no Option group
option group = Tax Status
Taxable = yes
Non-Taxable = no
and looking up tax info from Form.Company Information.
[Tax Rate]

and I am trying to show the tax rate or no tax as 0.00%
out put to a field called [Tax Rate]

Any Ideas on how to do that.
 
M

Mike Painter

Nokia said:
I have a form that uses tax rate information. I am trying
to set a tax rate depending on a yes/no Option group
option group = Tax Status
Taxable = yes
Non-Taxable = no
and looking up tax info from Form.Company Information.
[Tax Rate]

and I am trying to show the tax rate or no tax as 0.00%
out put to a field called [Tax Rate]

Any Ideas on how to do that.
You look up information from tables, not forms.

There is no need to put it in a table and lots of reasons not to. (If you
know why you should not do it, then feel free to do it.)
I would put an expression in a query and use it in forms and reports. There
should be a relationship between the tax table and the table you want the
data in so:

Tax:iif([tax status] = "yes", [TaxRate from related table], "0.00%")
 

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

Similar Threads

updated field 3
need help on an expression 6
Sub-Form 1
Iff statement 9
Excel Calculation 4
Find Correct Tax Rate from Tax Table 4
Help please 1
Help with tax formula for marginal tax rates 21

Top