| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| Exchanging data | YES | YES | NO | Windows |
DDE command, Omnis as client. This command sets the channel number to be used in subsequent DDE commands.. Each channel number identifies a particular conversation.
The channels are numbered from 1 to 8, and the flag is cleared if an invalid channel number is used. If you omit the channel number, it defaults to 1. The channel number selected can be the result of a calculation. All subsequent channel commands function on the current channel number. To select another channel, you must use a new Set DDE channel number command.
Set DDE channel number2
Open DDE channelOmnis|Country
If flag falseOK message{The Country library is not running}
ElseSend commandDo method InvoiceDo methodTransferData
End If