Re: Mail Merge
- From: "Phil Stanton" <phil@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 21 Feb 2009 16:55:30 -0000
Thanks Albert
looks super. I wll play around with it
BTW, what version of Access was that written for. Gel a compile error on
strExt = IIf(Application.Version <= 11, ".doc", ".docx")
Have replaces ir with
strExt = ".doc"
AK2 doesn't recognise Application.Version.
It does recognise Application.DBEngine.Version
which gives 3.6 but I have a feeling I should be expecting to see 10
Thanks again
Phil
"Albert D. Kallal" <PleaseNOOOsPAMmkallal@xxxxxxx> wrote in message
news:STUnl.41415$RJ7.14358@xxxxxxxxxxxxxxx
Perhaps you give my word merge sample a try?
You could go:
MergeAllWord "TempNewQuery"
(about one line of code to do your needed merge).
Turns out that word not only have trouble connecting to a mdb, or mde, but
often decides to launch another copy.
You can find my "super easy word" merge here:
http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html
The problem is just that there is "too" many problems when you let word
try to connect to your database. Often if that query has any functions,
then again word can't use the query. If you have security set for your
database, then again problems arise. And if you don't use late binding in
your code..then again probems crop up when you move to a differnt
computer...(and on and on and on).
My merge sample solves these problems by forcing word to attach to a text
file...not ms-access.
So if someone else don't come up here with a post for a easy fix, my merge
sample is one possible way out of this problem...
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@xxxxxxx
.
- Follow-Ups:
- Re: Mail Merge
- From: Albert D. Kallal
- Re: Mail Merge
- References:
- Mail Merge
- From: Phil Stanton
- Re: Mail Merge
- From: Albert D. Kallal
- Mail Merge
- Prev by Date: Re: Update db FE with "power user"
- Next by Date: Re: Update db FE with "power user"
- Previous by thread: Re: Mail Merge
- Next by thread: Re: Mail Merge
- Index(es):
Relevant Pages
|