Solved

Mailmerge & Word

Posted on 2001-09-18
5
324 Views
Last Modified: 2013-12-18
Hi,

I would like to know how to create a Word document (even better use a template) and fill it with values from a notes database. Typical example would be to mark several people from a database with addresses and send them a prepared letter.

I suppose this can be done by mailmerge, so let notes create a mailmerge file somewhere, and then start word with the appropriate letter and mailmerge so that it creates the 'ready-to-print' version.

A related, but possibly different, questions would be how to keep track of this letter in the send-history of those people in the notes database, and how to find back the Word-letter you've send (how to store this link, or the whole document into the notes database).

Thanks, Bert.
0
Comment
Question by:bmenting
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:zvonko
ID: 6491345
0
 

Author Comment

by:bmenting
ID: 6493413
Hi Zvonko,

Seems like the right direction. I ran into one problem: I don't really know what a 'bookmark' is in Word, and since we use Word in our own language, that doesn't help too much either (That is dutch b.t.w.). So the text I insert appears at the top of the document, and not in the desired 'field' in the template.

Also, do you happen to know about a detailed list with all available functions in notes for the Word OLE-object. I've searched at WWW but couldn't find anything in an hour...

Bye, Bert.
0
 
LVL 10

Accepted Solution

by:
zvonko earned 100 total points
ID: 6493488
OK Bert,

for your dutch Word version it is not a problem. Simply record a keystroke makro and lookup the VisaulBasic code of it. It is nearly the same code as for LotusScript with the exception that you do not have the Word constatants values (numeric). You have to lookup them in VB explorer. Press ALT-F11 in Word to goto the VB explorer.

For all Word functions available in LotusScript goto LotusDesigner, open a LotusScript agent and look into Reference tab for "OLEclasses". There will you find all installed OLE servers and their interfaces.

In any case you have to get familiar with this all, 'cose no example is as good to be cut'n pasted and up and running <|;-)

Regards,
zvonko
0
 

Author Comment

by:bmenting
ID: 6496977
Hey,

Think I'm on the right way. (un?!)fortunately I have a holliday next week, so I won't have time to test it for some days, but I'll give you the points right now!

Thanks, Bert.
0
 
LVL 10

Expert Comment

by:zvonko
ID: 6497382
Thanks for the points <|;-)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question