| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| Exchanging data | YES | NO | NO | Windows |
DDE command, Omnis as client. This command requests a data item from the DDE channel. An error occurs if the channel is not open. The command takes the Omnis field name and the server data item name as parameters. The data item name can contain square bracket notation. If the data item name is not specified, the Omnis field name is used. The flag is set if the command is successful.
Set DDE channel number1
CalculatelAttemptsas1# keeps trying until conversation opened or number of attempts > 10
RepeatOpen DDE channelOmnis|DDE2CalculatelAttemptsaslAttempts+1
Until#F|lAttempts>10
CalculateiCommandas'[TakeControl]'
Send command[iCommand]
If flag falseOK message{Error: [iCommand], Open Attempts = [lAttempts]}
End If
Request fieldiCompany{iCompany}Request fieldiAddress{iAddress}
Prepare for insert with current values
Enter data
Update files if flag set