Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filling formfields in Word.
Message
 
À
03/05/2007 18:29:43
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01222082
Message ID:
01222388
Vues:
16
>>Please help, it should be doable, perhaps I'm not using the correct methods/objects.
>>
>>TIA
>>
>>Max
>
>Maximo,
>You're not filling formfields in an official way, you're typing there:=) I guess it is a result of macro recording.
>Filling formfields look like this:
>
>* Set
>.FormFields("Text1").Result = "My Text"
>.FormFields("Check1").Checkbox.Value = .T.
>.FormFields("DropDown1").Result = "My DD" && auto added if not in list
>
>Check Re: Anyone using MS Word 'Forms' as input documents? Thread #1156885 Message #1156906 fro a sample code.
>Cetin

My dear friend Cetin, you nail it down, it works perfectly using the "Result" property.
Yes, I knew I was doing something unorthodox, but it worked somehow! LOL.
Thanks a lot.

...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....                       

...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
 

Ismael Rivera "Oye cosita linda"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform