Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Mailmerge & Word

Posted on 2001-09-18
5
Medium Priority
?
337 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 400 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…

572 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