> 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.