Release 10.1A: OpenEdge Development:
AppBuilder

> ## Example of sendHandler code

> This code might be used to create a large text message in a SmartSender:

>     /*
>     ** Declare a handle for the message
>     */
>     DEFINE INPUT PARAMETER hMessage AS HANDLE NO-UNDO.
>     /*
>     ** Set the message properties
>     */
>     DYNAMIC-FUNCTION( ‘setBooleanProperty’:U IN hMessage,
>              INPUT ‘backordered’:U,
>              INPUT TRUE ).
>     DYNAMIC-FUNCTION( ‘setDoubleProperty’:U IN hMessage,
>              INPUT ‘minorderamount’:U,
>              INPUT 1500.00 ).
>     /*
>     ** Append text blocks from tables to create message body
>     */
>     FOR EACH table
>      DYNAMIC-FUNCTION( ‘appendText’:U ) IN hMessage, table.datafield ).
>     END.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095