Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Better method to insert data into Word
Message
De
13/09/2019 16:13:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01670760
Message ID:
01670837
Vues:
48
>
>The one issue I have sometimes with merge fields is, that it would not be possible to create lists. If there was a way to define a table that could be used as a list in the document (like invoice lines) this would be pefect. At the moment I use a bookmark and insert text as details, using courier new and fixed length text, but that does not look nice.

For some irregular document, with multiple table\list like parts in it, what I did was to use document.Variables and bookmarks. For tables\lists I put the text at the specified bookmark and convert text to table or directly create a table and add rows\columns to it. Both worked very nicely (end result was a 100% copy with all the styling and formatting of what they did manually).

Another one that I like is to write out an HTML, which word can open.
Ç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