FORMULA LANGUAGE


@DDEInitiate
Example

Initiates a conversation with a DDE server, and returns the conversation ID.

Note DDEInitiate is not supported by UNIX or on the Macintosh.

Syntax

@DDEInitiate( application ; topic )

Parameters

application


topic
Return value

conversationID


Usage

It is intended for use primarily in field formulas, agents, and toolbar buttons. Since the Macintosh does not support DDE, these commands will not work on Macintosh workstations. This function does not work in column or selection formulas, and is not intended for use in window title or form formulas.

If the user's notes.ini file includes the statement

NoExternalApps=1

then any formula involving @DDE functions is disabled. The user doesn't see an error message; the formula fails to execute.

You can have up to 10 DDE conversations running concurrently, although under normal circumstances you should only have one conversation running at a time. Be sure to terminate all DDE conversations once they're completed, or you may run out of sessions and be unable to initiate more conversations when needed.

You cannot use this function in Web applications.

Initiation failures

If the conversation cannot be initiated, @DDEInitiate will return an error. See @IsError. Below are some reasons why the initiation could fail:


Example
See Also