Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP-Word2K - Create DocVariable in a template file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00761396
Message ID:
00761992
Vues:
61
Yes thanks Yuri I can create variables programatically but I want the users to be able to place the variables (I can create the basic DOT file with variables before hand if required) but I was not able to create and place variables from Word.

>Something like this:
>
>* add variables
> .ActiveDocument.Variables("Client.ICID").Value=23
> ?.ActiveDocument.Variables.Count
> ?.ActiveDocument.Variables(1).Name
> ?.ActiveDocument.Variables(1).Value
>>Hi
>>
>>I have to create a Word Doc Template. This template is supposed to allow the user to put in predefined fieldnames, names that the VFP automation program expects from this template.
>>
>>Q1. How and Where to define DocVariables in a template file?
>>Q2. How to put these DocVariables (not it's value) in the template file?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform