Common script

Common script

Hi,

I've created a form that has a number of look-up fields. When the look-up values are selected, it changes various numeric fields, I therfore need to re-calulate all field upon update. I've copied the required script in each field.

As the code is common, is there an easier way to call a script to re-calculate. This way I only need to maintain a common script?

Thanks,
Martyn