calculations called numerous times

in an effort to debug some calculations, i just added the
line:
application.output(‘in [calcname]’);

to one of my calcs; i was shocked to find that in switching
from designer to user mode, this calculation was called 105
times!

and there are many calculations used throughout this solution.

my client is already complaining about how slow the product
is (compared to filemaker), and i’m assuming this is part of
(if not all of) the problem.

servoy support: i need to know what would cause a calculation
to be called this many times when simply displaying a form.

thank you.
rm.

You must have created a circular reference or tied it to one or more events. Are you using calculations that refer to themselves or their parents?

jaleman:
Are you using calculations that refer to themselves or their parents?

no, but one calculation increments a global integer; is that bad? does
modifing a global cause calculations to fire?

in general, could you elaborate on what events cause calcs to fire…?

thanks.