runfieldcalculations

The runfieldcalculations statement performs any automatic calculations associated with the current field.


Parameters

No parameters.


Description

This statement performs any calculations that normally occur when data in this field is edited. Note: This statement operates only on the currently active record, not on all selected records.

In this example, the field Amount is set to 34.78. If there are any automatic calculations for the Amount field, they are calculated.

field Amount
Amount = 34.78
runfieldcalculations

That is, suppose field Tax has a formula Amount*05. The new amount for Tax will be assigned when runfield calculations executes. This statement does not run any automatic procedure associated with this field. If you want to run automatic procedures as well, use the runfieldsideeffects statement.


See Also


History

VersionStatusNotes
10.0NewNew in this version.