runfieldsideeffects

The runfieldsideeffects statement performs any side effects associated with the current field (calculations, procedures, etc.).


Parameters

No parameters.


Description

This statement performs any side effects that normally occur when data in this field is edited (calculations, procedures, etc.). 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, and any procedure code associated with this field is run. If there is no procedure code for this field, the database .ModifyRecord procedure will run (if there is one).

field Amount
Amount = 34.78
runfieldsideeffects

If you want to run automatic calculations but not any automatic procedures, use the runfieldcalculations statement.


See Also


History

VersionStatusNotes
10.0NewNew in this version.