DDE REQUEST statement
(Windows only)Retrieves the current value of a dynamic data exchange (DDE) server data item associated with the specified DDE conversation.
This statement is supported only for backward compatibility. Use the Component Object Model (COM) instead.
Note: Does not apply to SpeedScript programming.Syntax
ddeid
TARGETfield
ITEMname
Specifies the name of the server data item from which to retrieve a value. The data itemname
is a character expression that identifies the data item according to the conventions of the server application (for example, the row and column coordinates of a worksheet cell, such as R2C1 in Microsoft Excel).TIMEseconds
NO-ERRORExampleThe following fragment shows a typical use of the DDE REQUEST statement. It assumes that the Microsoft Excel application is running, and has created the default Excel worksheet, Sheet1. It then uses the DDE INITIATE statement to open a conversation with Sheet1 as the topic. This allows the AVM to exchange data with the cells of the worksheet.
In this example, the fragment builds 10 new Customer records from data obtained from the first 4 columns in the worksheet using the DDE REQUEST statement. The data includes Customer name, year-to-date sales, state, and zip code. (The requests start from row 2, because row 1 contains column headings.)
NoteFor more information on using the DDE protocol to exchange data with non-ABL applications, see OpenEdge Development: Programming Interfaces.
See also
OpenEdge Release 10.2B
|