Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and word97 error
Message
De
02/05/1998 11:34:10
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brésil
 
 
À
30/04/1998 13:25:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00095638
Message ID:
00096504
Vues:
25
Hello All

I thank you to try help me i can do what i want and now i have another doubt i'm trying to create a field in word document i'm using the follow sintax:

.ActiveDocument.Fields.Add( wdFieldDocVariable,"teste1") and VFP shows me a error message saying "Variable wdFieldDocVariable is not found"

Anyone can help me?
Thanks


>Hi Ander,oWordDocument=createobject("word.application") && Create word object
>with oWordDocument
> with oWordDocument.wordbasic
> .appshow
> .fileopen("c:\temp\ander.doc")
> endwith
> .ActiveDocument.variables("Cidade").value = "Porto Allegre"
> For ix= 1 to .ActiveDocument.Fields.count
> if at("Cidade",.ActiveDocument.Fields(ix).Code.text) > 0
> .ActiveDocument.Fields(ix).Update
> EndIf
> Next
>endwith
>Cetin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform