>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only