Close DDE channel

Command groupFlag affectedReversibleExecute on clientPlatform(s)
Exchanging dataNONONOWindows

Syntax

Close DDE channel
 
 ([
All channels
])

Options

All channelsIf specified,the command applies to all DDE channels,rather than just the current channel

Description

DDE command, Omnis as client. This command closes the current channel. If you use the All channels option, all open DDE channels are closed. No error occurs if the current channel is not open.

Example

Set DDE channel number
 
2

Open DDE channel
 
Omnis|Country

If flag false
  
OK message
 
{
The Country library is not running
}

Else
  
Do method
 
TransferData

  
Close DDE channel

  
OK message
 
{
Update finished
}

End If