Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6354 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I'm trying to figure out how & where to place an if (I think it should be an if) statement that will allow me to only have sales tax calculated IF the state of purchase is New York (where I am.) I'm new to File maker (I'm switching over from MS Access.)

So far, I have: If(state = "NY"; tax = (subtotal X 0.8625); 0)

Can I add the calculation in the statement like that?

Thanks for your help.

Posted

Close. You're trying to get:

If (state = "NY"; subtotal * 0.8625; 0)

But I'd go one step further and create a Tax Rate field, you can auto-enter the tax rate in there. And you'd get:

If (state = "NY"; subtotal * TaxRate; 0)

This is desirable because tax rates change. If NY raised their taxes next year to say, .87, you'd have to change the calculation, but then all the old invoices would recalculate with the new tax rate. Which you don't want.

  • Newbies
Posted

Thanks so much for your help...my Wife Miriam is doing this for me and got stumped.

All the best, Scott

  • Newbies
Posted

David,

Do you think there's a way to do an If And Then If ... statement so that I don't have to select the tax rate each time in my invoice?

I'm thinking something like:

If (Date(1,0,2007)

OR:

Can I create a table just with the fields tax rate & year, and then,

in my invoice, make "sales tax" a calculated field that looks at the field "state", and if it's NY, then looks at the field "date delivered", and then compares it to the tax table, and provides the sales tax rate?

Thanks for you help.

This topic is 6354 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.