Jump to content
Server Maintenance This Week. ×

Calcs on Calcs


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

Recommended Posts

Is it a calculation or a number with an auto-enter calculation result? If it's the latter, make sure you deselect 'do not replace existing value for field' in the auto-enter options.

Link to comment
Share on other sites

Does the calculation include only local fields or related ones also? Does it refresh if you enter find mode, then enter browse mode, or move to another record and return to the original one?

Link to comment
Share on other sites

Here is what I have,

The "Recipe LI::Servings_Converted" field changes when I change Recipes::Servings_Converted.

Also the "Recipe_LI::z_Fat_Calories_Recipe" Changes but the "Recipe_LI::z_Fat_Calories_Servings" does not

"Recipe_LI::Servings_Converted":

If(

IsEmpty(Recipes::Servings_Converted);

Recipes::Servings_Entered;

Recipes::Servings_Converted

)

"Recipes::Servings_Converted":

Case(

not IsEmpty(Servings_Converted);

S4HU_EventScript(Get(FileName); "CONVERT / ENTER RECIPE" ; "" )

&

Servings_Converted)

"Recipe LI::z_Fat_Calories_Servings":

z_Fat_Calories_Recipe / Servings_Converted

Link to comment
Share on other sites

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