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

Recommended Posts

Posted

Hello below is my calculation:

If(Print Total < 20.00, Freight 2006 A B Total + 0.50, If(Print Total = "20.00" <> "40.00" , Freight 2006 A B Total + 3.00, If(Print Total > 40.00, Freight 2006 A B Total + 4.00, Freight 2006 A B Total + 4.00)))

What I'm trying to configure is:

1. If my Print Total is < 20.00 add 0.50 to my freight cost.

2. If my Print Total is >20.00 <40.00 add 3.00 to my freight cost.

3. If my Print Total is >40.00 add 4.00 to my freight cost.

Please help!

Posted

Use a Case instead

Case ( Print Total ≤ 20; Freight 2006 A B Total + .5; Print Total < 40; Freight 2006 A B Total + 3; Freight 2006 A B Total + 4

)

Posted

Thank you for the fast respond. When I copy and paste the formula i get a message indicate "This field cannot be found". I'm sorry its my fault i forgot to mention I am setting up the formula in pc filmaker pro 5.0.

Please Help!

Posted

... and may be that the Case function wasn't there !

If (

Print Total ≤ 20 , Freight 2006 A B Total + .5 ,

If (

Print Total < 40 , Freight 2006 A B Total + 3 ,

Freight 2006 A B Total + 4

)

)

Posted

Hi Daniele,

I have used the Case Statement for as long as I can remember (getting to be less and less everyday, LOL), but I can only verify to version 4 right now, because I don't have older ones on this computer.

Tip to [color:orange]maiton,

I prefer the Case over the If because for me, it is easier to write and to read.

Lee

Posted

Overall, this is not a good method. You should not hard-code your prices into calculation formulas, because prices tend to change over time. Use a lookup instead. Filemaker allows looking up a range ('if no exact match, copy next higher/lower').

Posted

Lee, I too prefer the Case function :)

BTW: I said "may be", because I remember that there was some variation of the LOGICAL functions between 5 and 5.5

Posted

Why did the orig post state it was FM8?

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