How can you resolve this Issue so that all system messages continue to be displayed after the trigger code runs?

In the Orders form, users often have a need to return to the first record. Because there are many employee records, it may take a long time for them to scroll up to the first record, so you create a button with the label First Record.
When users click the first Record button, you want to display your own custom message instead of the system message "FRM-40100: At first record." The system message should be displayed in other cases when users attempt to scroll above the first record.
You code the following When-Button-Pressed trigger:

The button works perfectly to return to the first record and display your custom message instead of the system message. However, users report that as they continue to use the form after clicking the button, no longer see other helpful messages. For example, the message "FRM 40102: Record must be entered or deleted first" no longer appears when they attempt to scroll past the last record.
How can you resolve this Issue so that all system messages continue to be displayed after the trigger code runs?
A. instead of setting the system message level to 5 in the code, set it to 50.
B. instead of setting the system message level to 5 in the code, set it to 25.
C. Add the line of code just before the end of the loop to reset the system message level
D. Add a line of code just after the end of the loop to reset the system message level.
E. Instead of setting the system message level in the When-Button-Pressed trigger, use an On-Error trigger to customize the message.
F. Set the system message level in a When-New-Form-instance trigger, so that all system messages appear except when in the scope of the trigger.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.