How-to: Display an Error dialog

Description

You want to stop the process and return display a message to the user
Use the regular ERROR() command for this task. 

Adding Line-breaks

For line breaks, use Char = 10 and 13, also known as carriage return (CR) line feed (LF).

Use MobToolbox.CRLFSeparator() or MobToolbox.CRLFSeparator()

Examples

Error('Line%1breaks%1here', MobToolbox.CRLFSeparator());


Tip: The same goes for "Successmessage"

SuccessMessage := StrSubstNo('Line%1breaks%1here', MobToolbox.CRLFSeparator());