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

Recommended Posts

Posted

How is it possible to have 2 case functions in one calculation?

Case 1 =

Case (

uw = "g" ; :(?;

uw = "oz";: * .0352739619

)

Case 2 =

Case (

lye_type = "NaOH" ; recipes::sum_NaOH * (1 - superfat_percent / 100);

lye_type = "KOH";recipes::sum_NaOH * (1 - superfat_percent / 100)

)

Both NaOH and KoH should have the possibility of "g" and "oz" conversion.

Case (

uw = "g" ; (Case2);

uw = "oz"; (Case2 * .0352739619

)

Thanks

Posted (edited)

Well you can have the case be for every situation:

Case ( uw = "g" and lye_type = "NaOH"; blah blah; ) etc. You could even user a let statement to clean it up. However in your case, you probably can just use.

Case ( uw = "g"; 1; uw = "oz"; .0352739619 ) *

Case (

lye_type = "NaOH" ; recipes::sum_NaOH;

lye_type = "KOH"; recipes::sum_KOH

)

* ( 1 - superfat_percent / 100 )

P.S. Why is both lye_type retunring sum_NaOH? I changed the second to sum_KOH.

Edited by Guest
added PS

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