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 5889 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi. I am trying to use an If command to change VAT (Tax) from 17.5% to 15%. I have at the moment:

If(Order Date > 01/12/2008,Line Totals*15/100,Line Totals*17.5/100)

I want to say: If the date is after 01/12/2008 then use 15% as the VAT addition; if not use 17.5%.

Could somebody help me please. Many thanks. Roger

Posted

This is not a good approach overall. Tax rate is data, not part of the schema; it should be looked up from a preference, not hard-coded into a calculation.

Posted

Hi. "from a preference". I'm not an expert. Do you mean to put the VAT values in a separate table and look them up and select at the time of writing the invoice? Would appreciate any advice as is for a Charity. Thanks. Roger.

Posted

Yes, more or less. For a single user, this could be in a global field, but for a hosted solution a separate Preferences table with a single record is preferable.

Posted

Hi again. I'm afraid tha I cannot get your formula to work. Can I use 12/01/2008 as the date format? Or need to put ,. Is If( on the first line alone? Any help really appreciated. Thanks. Roger

This topic is 5889 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.