| **Navigation:**  [[introduction.htm|Language Reference]] > App A - DDE, OLE, and OCX > DDE Procedures >====== DDEVALUE (return data value sent to server) ====== | [[ddetopic return server topic .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[ddewrite provide data to dde client .htm|{{btn_next_n.gif|Next page}}]] | | || **DDEVALUE( )** {{blk2blue.jpg|blk2blue.jpg}} The **DDEVALUE** procedure returns a string containing the data sent to a Clarion DDE server by the DDEPOKE statement, or the command to execute from a DDEEXECUTE statement. **Return Data Type:     **STRING **Example:** **WinOne  WINDOW,AT(0,0,160,400)** **        END** **TimeServer LONG** **TimeStamp  FILE,DRIVER(ASCII),PRE(Tim)** **Record      RECORD** **FormatTime   STRING(5)** **FormatDate   STRING(8)** **Message      STRING(50)** **            END** **          END** ** CODE** ** OPEN(WinOne)** ** TimeServer = DDESERVER('TimeStamp')        !Open as server** ** ACCEPT** **  CASE EVENT()** **  OF EVENT:DDEpoke** **   OPEN(TimeStamp)** **   Tim:FormatTime = FORMAT(CLOCK(),@T1)** **   Tim:FormatDate = FORMAT(TODAY(),@D1)** **   Tim:Message  = DDEVALUE()                !Get data ** **   ADD(TimeStamp)** **   CLOSE(TimeStamp)** **   CYCLE                                    !Ensure acknowledgement** **  END** ** END** **See Also:** [[ddepoke send unsolicited data to dde server .htm|DDEPOKE]] [[ddeexecute send command to dde server .htm|DDEEXECUTE]]