>Hi Erik,
>
>In my dde applications, (writing to a fax server), I used ddepoke statements to set everything up. I then used a ddeexecute statement to finish it.
>
>Maybe it is the ddeexecute that you need.
>
>Paul de Niverville
>>
>>>>ddechan = ddeinitiate('peachw','assoftey')
>>>>ddepoke(ddechan, 'generaljournal, date', date())
>>>>ddepoke(ddechan, 'generaljournal, reference', 'Daily Entry')
>>>>ddepoke(ddechan, 'generaljournal, description', 'Payment')
>>>>ddepoke(ddechan, 'generaljournal, firstdistribution', '1300' + chr(9) + '150' + chr(9) + 'First detail')
>>>>ddepoke(ddechan, 'generaljournal, nextdistribution', '3200' + chr(9) + chr(9) + '150' + chr(9) + 'Second detail')
>>>>
>>>>After running this code, no errors come up, but the entries simply don't appear in Peachtree. I guess that this really crosses the line from a VFP issue, to a Peachtree issue, but I was hoping someone could help anyway. Can anybody sees what I might be doing wrong? TIA
DDEExecute issues a command to the Server app that the server app understands. I don't think that there is a DDEExecute needed to send all the info over there, but there might be one needed to 'save' it. This could explain why all the commands return success codes and then I can't find the entries: maybe they are being sent but not saved. The doc says nothing about any such command, but it is the best guess I have so far.
Erik Moore
Clientelligence