Detecting When a Field in a Browse Has Changed
Steps involved in detecting when a field in a browse has changed:
Display the Tables/Sets tab of the Control Panel.
Select the table that contains the field(s) that you want to monitor.
Select Design > Field Rules.
Display the Events tab.
Select "OnWroteField" from the Events list box.
Select the field of interest from the list box in the upper left corner of the screen.
Place the following code (with your modifications) into the editor window.
valinit = this.field_get().initial_value_get() valfinal = this.field_get().value_get() IF (valinit <> valfinal) THEN 'Field changed ELSE 'Field did not change END IF