FORMULA LANGUAGE


ComposeWithReference @Command
Example

Creates a new document filling in the Body rich text field with values based on the current document.

Note This @command is new with Release 6.

Syntax

@Command([ComposeWithReference]; server : database ; form ; flags)

Parameters

server : database


form
flags Usage

A document must be open or selected in a view to use this command.

The new document is a response to the current document if the two documents are in the same database and the specified form is a response form.

If this command is used in a view action, the form formula of the view will override the form specified in the @command. To avoid this problem add the following line to the form formula of the view:

@If(@IsNewDoc; @Return(Form); "")

For information about form formulas, see "Form Formulas" in "Programming Overview."

Example
See Also