Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DDEexecute problem
Message
From
27/04/1998 09:10:38
 
 
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:
00095096
Views:
21
>Hello All
>
> 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
>
>Anderson Reis Girardi
>Rua Ajax, 125 Parque dos Mayas
>Porto Alegre - RS CEP 90.170-470
>Telefone: (051) 366-4579

Michel suggestion is correct. You have more flexibility using ole automation but instead you can use mline() function to send each line of the memo field to word via ddeexecute().
Saludos,
A.G.P.
---------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform