Salesforce

Display Full Messages (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Display Full Messages (Magic xpa 3.x)

The underlying DBMS may return errors, such as constraints violations, during the project execution. Magic xpa keeps a buffer containing the last error received from the DBMS.

Setting Display Full Messages to Yes causes Magic xpa to display the error message in Runtime, and to clear the buffer.

If you do not want the end user to see the error messages, change Display Full Messages to No. You can then use DbERR or ErrDbmsMessage functions to put the error message into a variable as a string, and to manipulate the error message in the program.

Setting Display Full Messages to Yes causes the DbERR function to return an empty string, because the error messages buffer is cleared when messages are displayed. The recommended setting value depends on the project.

Available values: Yes, No

Default: Yes

Change effective: Immediate

Magic.ini and Command Line name: DisplayFullMsgs

Related Topics

Reference
Attachment 
Attachment