Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word97
Message
De
07/08/1998 08:14:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/08/1998 07:25:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Word97
Divers
Thread ID:
00123542
Message ID:
00124725
Vues:
24
>Hi Cetin,
>thank you for your post.
>
>I am using
>oMyWordObj.SetFormResult(la_bmrk(ln_loop),ALLTRIM(cpconvert(850,1252,lc_mrkVal)))
>and it is working fine for the bookmarks which names are same as fields in my table. My problem now is how to get the content of a bookmark where this is not the case. Example
>bookmark name = sum
>content is some expression like: var1 + var2 + var3
>where varn are fields from my table. How can I achieve that the sum of these fields will really show in my document?
>
>milos
Milos,
I don't have a chance to try this but it should be :
oMyWordObj.SetFormResult("sum",str(var1+var2+var3))
If var(s) are word var(s) then :
oMyWordObj.SetFormResult("sum") should update it.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform