MessageWarning() |
Opens a warning box in which it displays the specified text, then waits for the end user to click the OK button. To display on-screen field values in messages, refer to these values using embedded method calls and the FORMULA() method. This allows you to concatenate on-screen values with hard-coded message text. MessageWarning(FORMULA(':1 || :2 || :3', 'For tours to ', query.destination(), ', personal insurance is obligatory.')) The resulting message would then be: For tours to Africa, personal insurance is obligatory. Syntax MessageWarning(<text>) Parameters text The text you want to display as a warning message. Note the following:
NOTE: If you intend to have your application translated, use MessageLanguage() instead. |