Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DDEexecute problem
Message
From
26/04/1998 13:43:45
 
 
To
26/04/1998 13:34:05
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brazil
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00094978
Message ID:
00094979
Views:
22
> I'm doing a DDE conection with microsoft word 97 but i have any problem
> i'm using the follow code:
>
> Proposta = DDEInitiate('WinWord', 'System')
> result=DDEexecute(Proposta, alltrim(edital.desc_cli))
>
> The edital.desc_cli is a memo field and its value is:
>
> "Governo do Estado do Rio Grande do Sul
> Prefeitura Municipal de Porto Alegre
> Secretária Municipal da Saúde"
>
> My problem is what the DDEexecute command is writting a line per page, in
>my word document i have 3 pages:
>
> Page 1 "Governo do Estado do Rio Grande do Sul"
> Page 2 "Prefeitura Municipal de Porto Alegre"
> page 3 "Secretária Municipal da Saúde"
>
> Anyone Knows how do i do to put this value in only a page?
>
> Thanks for any soluction

Have you considered using OLE automation instead? You will have better flexibility by using this type of approach.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform