DDE GET ddeid TARGET field ITEM nameTIME secondsNO-ERRORAn integer expression that specifies the channel number of the conversation that triggered the DDE-NOTIFY event. You can obtain the value of ddeid from the DDE-ID attribute of the frame to which the DDE-NOTIFY event was posted.TARGET fieldITEM nameSpecifies the server data item that changed and triggered the DDE-NOTIFY event, where name is a character expression that identifies the name of the data item in the server application. You can obtain the value of name from the DDE-ITEM attribute of the frame to which the DDE-NOTIFY event was posted.TIME secondsSpecifies the maximum number of seconds that the ABL client waits for the DDE GET statement to complete where seconds is an integer expression. If you do not specify the TIME option or specify a value of 0, the AVM waits indefinitely for the statement to complete.After the conversation is opened, the DDE ADVISE statement links to the worksheet cell that maintains the latest rate-of-change value (2nd column of the 4th row, or R4C2). Every time this cell changes value, the AVM posts a DDE-NOTIFY event to the frame DDEframe, where the value is retrieved using the DDE GET statement, and stored as a decimal in the ChangeRate variable. Meanwhile, if the REPEAT block detects a ChangeRate value greater than 7.5%, the the link to cell R4C2 is closed and the procedure continues.
For more information on using the DDE protocol to exchange data with non-ABL applications, see OpenEdge Development: Programming Interfaces.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |