Field-Map in Keywords - Differentiating Field-Map

<< back

User-defined rules for plausibility check (Field-Map Object Pascal scripting)

A user can define his own on-validate events and check if an attribute value (intended to be captured) satisfies or not the predefined conditions to be stored in the database. Depending on it, the user-defined script will accept or reject the attribute value. On-Validate script is executed BEFORE the value of a data field changes. It can access values of other fields, interact with user or do whatever else to determine if the value is valid. If the value is found to be valid the script has to set the value of predefined variable 'ScriptResult' to TRUE. After the script finishes the new field value is accepted and stored to database and On-change script is executed (if any). If the new field value is considered to be invalid the script should set 'ScriptResult' to FALSE. After the script finishes the new field value is rejected and not stored to database and On-change script is not executed (even if it is defined).
If you would like more information please contact us.