The query criteria is from a form e.g.
[Forms]![Form1]![Control]
query on it's own works fine - just M.S. Word mailmerge won't see it as a
datasource (doesn't even appear in the database tables/queries window as
a
datasource) unless i remove the criteria - i assume the sql statement is
too
complex for it
i tried removing the criteria - attaching it as a datasource - replacing
the
criteria - but mailmerge doc just loses it as a datasource & of course
you
can't re-attach it
i did a google and discovered that others have already noticed that word
cant/wont see some Access queries
is it possible to pass just the 'where' part of the sql statement direct
to
the mailmerge doc (hence bypassing the need for a form.control to store
it)?
Doug Robbins - Word MVP said:
What sort of criteria are you talking about, I have used select queries
with criteria that controls which records from the table are returned by the
query as the datasource for mailmerges hundreds of the times.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Have investigated the bug - Microsoft Word won't merge with some
Access
queries ?????????????
Assumed it was a software suite - You should be alright if you dont
use
any criteria - stick to the simple criteria in Word only
Only been using the tool about 10 seconds and it is already falling apart
at the seems - obviously not for professional use
tired to connect a document to an access database and the window only
a
shows the tables and one query (the 2 other database queries are not
shown)
so i can't connect the doc to the query it needs - is this a bug?