Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DDEexecute problem
Message
De
27/04/1998 09:10:38
 
 
À
26/04/1998 13:34:05
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00094978
Message ID:
00095096
Vues:
22
>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.
---------
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform