Decisions Example 1: Condition |
This decision displays a warning message if a salary exceeds 20 000, and can be called from the Post-change property of the SALARY field. Decision SQL :SALARY > 20000 :SALARY is an embedded method call reading the current on-screen value in the SALARY field. Another legal way of writing this is to use a full method call: :"query.salary()" > 20000 Full method calls enable you to read any interface-related information, such as the currently active tab page in a Tab control or a cell value in a Word table within an embedded Word document. Yes Action MessageWarning('Salary exceeds 20000.') No Action ActionDoNothing() |