Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Write Word file from VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00009512
Message ID:
00010072
Views:
70
>>>>>Thank you for the code, but I have another question. What need I do to
>>>>>write general field data of all records to the specified WORD file (one
>>>>>file only) ?
>>>>>
>>>>>Catherina of AS SOTA Co.
>>>>
>>>>
>>>>Store all the general fields to a memvar and use that with the bookmark construction. Or count the records and first create all the bookmarks required in the word doc before using the code i've giben you before.
>>>>More help on Word.Basic comes with Word before you can access this you must install it. Use custom setup to install it this does'nt mean reinstall word but just add word.basic help to your system
>>>
>>>I will try the method you told me, thank you very much!
>>>
>>>Catherina of AS SOTA Co.
>>
>>Catherina
>>
>>When i woke up this morning i realized i've given you a wrong advise this one works better and faster.
>>
>>PUBLIC lcWordObj
>>lcWordObj = CREATEOBJECT('Word.Basic')
>>lcWordObj.Filenew()
>>lcWordObj.appshow
>>lCWordObj.insert('Good luck using this with the general field in a scan')
>>
>>*SCAN
>>* lCWordObj.insert(<>)
>>*ENDSCAN
>>
>> run this code and see what happens
>>
>>ROBA Totaal Automatisering B.V.
>>R.G.J Caron
>
>Remi
>
>This looks so interesting that I am breaking & trying it. BTW, knit picky me :
>
>lcWordObj should be gcWordObj
>
>We can't confuse any novices out there... (s)
>
>Thanks
>Tom

Tom you're absolutly right about lc must be gc sorry about that i've copied it from a in line procedure were its lc i'll pay more attention next time.
Previous
Reply
Map
View

Click here to load this message in the networking platform