Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

I have one layout, with many calculationfields. It's for calculating prices for cardboard packaging. Choises for different machinery, printed or not, etc. etc.

Is there a possibility in FM to make first all the choices and then start the calculations? Now the screen is being build-up (very slow because of the calculations I think) everytime one choice is made, and also when you leave the screen(layout) and come back to it again later.

Posted

One possibility is to remove all your calculation fields from the layout. Then create for each of them a number (or text) field and put it on the layout. Now create a script, which you push after having made all your choices. This script would then populate the number (or text or date) fields by using the

Posted

As it seems it recalculate when opening the layout, I think what happens here is that you may have statistical fields on the layout.

This said, yes you could use a script to do this, involving either the field themselves or global fields.

I'd tend to use the second method, where both the fields and calcs would be entered by script, which would make it easier to check that the "calculations" have been submitted.

Basically, in order to keep good performances, you should always "limit" the use of cross-related calculations. Having them scripted also offers a way to index them for quick search later on.

Posted

I did something similar in just copying the the database and converting th relevant fields into globals.

Values are transferred between the original db and the global clone with scripts.

Another way is to define each calc as

if (calculate="on", my calculation, ""), with global field calculate which is set by a button.

Another way is to define those fields as a lookup or calculated text field, then do a relookup to change values (best performance, but be careful which records are in found set)

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