Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filling formfields in Word.
Message
 
To
03/05/2007 18:29:43
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01222082
Message ID:
01222388
Views:
19
>>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"
Previous
Reply
Map
View

Click here to load this message in the networking platform