Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write Word file from VFP
Message
 
À
14/10/1996 14:51:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00009512
Message ID:
00009991
Vues:
57
>>>>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
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform