Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Better method to insert data into Word
Message
From
13/09/2019 16:13:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/09/2019 09:41:17
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01670760
Message ID:
01670837
Views:
49
>
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform