SETSTATUSLINE keyword

Applies to

Event handlers

Property: Event handler parameters

Description

Displays the success message and the error message from an event handler in the status bar rather than in a message box.

Syntax

SETSTATUSLINE( [SUCCESS] )

Setting Description
SUCCESS Displays the success message in the status bar, and displays the error message in a message box. If you do not specify SUCCESS, both messages appear in the status bar

Example

Acme.InvoiceHeaders.RecurringInvoice(PARMS(VAR V(PostThroughDate),MESSAGE))ERRORMESSAGE(%b) 
 SUCCESSMESSAGE(mProcessCompletedSuccessfully)SETSTATUSLINE(SUCCESS))