Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write Word file from VFP
Message
De
15/10/1996 11:59:28
 
 
À
15/10/1996 06:35:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00009512
Message ID:
00010077
Vues:
68
>Dear Remi:
>
>Sorry to bother you again, I tried to use the code you gave me.
>When I run the code, I can see the Word application screen and the first
>line I send, then I got an error message "Function argument value,type, or
>count is invalid". Please tell me what wrong with my code?
>
>BTW, where can I get the menu or the help topic about "WORD.BASIC" object.
>
>************** this is my code.
>PUBLIC lcWordObj
>lcWordObj = CREATEOBJECT('Word.Basic')
>lcWordObj.Filenew()
>lcWordObj.appshow
>lCWordObj.insert('Good luck using this with the general field in a scan')
>
>SELECT table1
>GO TOP
>lCWordObj.insert(table1.question)
>SKIP
>**************
>Thank you very much !!!
>

* This minor adjustment ALLTRIM() works for memo's so it should work for general fields too if not let me know

>SELECT table1
>GO TOP
>lCWordObj.insert(ALLTRIM(table1.question))
>SKIP

* sorry for confusing you with the naming convention but lc should be gc
lc = local character
gc= global character

sicnce i declar the var public it should be gc.

see tom's remark towards this and he is right.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform