Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word97
Message
From
05/08/1998 10:02:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/08/1998 09:36:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Word97
Miscellaneous
Thread ID:
00123542
Message ID:
00124053
Views:
18
>Hi Cetin,
>thank you for your help.
>Unfortunately, I could not apply it. My version works with ´Word.Basic´ not ´Word.Application´. So I need other objects which I do not know. Anyhow, I thank you for your trying to help me.
>
>Milos
Milos,
Then you could use like this :
cMyTable = "mytablename"
oWord = createobject("word.basic")
with oWord
  for ix=1 to fcount(cMyTable)
      .setdocumentvar(field(ix,cMyTable),eval(field(ix,cMyTable)))
  endfor
endwith
Here only you might need to add a conversion to char for eval() part.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform