KNOWLEDGE BASE ARTICLE

Sample OnChange event routines

Custom event routines (*.exe files) can be run to process zone values. In OnChanged events, these can be helpful in reporting information to the user that may help the profiling process. Typical uses might be to test to make sure values exist in databases and advise the user accordingly or to run validations tests prior to the OnSave event etc.

The zone value is passed as the first programme argument. The output from the routine should be a message that will be displayed to the user.

The sample code below does a simple test of the zone value and returns a message based on its findings.

Sample OnChanged event code

Link to this article http://umango.com/KB?article=34