473,473 Members | 2,269 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Mail Merge

I'm trying to set up a mail merge using a query out of my database for the data
source. When I browse for a data source and open my database, only a few queries
from the database are listed - the one I want of course is not there. Does
anyone know how I can list all the queries and then be able to select the one I
want.

Thanks!

Charlene
Nov 12 '05 #1
6 2528
All of your select queries should show. Action queries won't and shouldn't.

--
Duane Hookom
MS Access MVP
"Charlene" <cp***@earthlink.net> wrote in message
news:uY***************@newsread3.news.atl.earthlin k.net...
I'm trying to set up a mail merge using a query out of my database for the data source. When I browse for a data source and open my database, only a few queries from the database are listed - the one I want of course is not there. Does
anyone know how I can list all the queries and then be able to select the one I want.

Thanks!

Charlene

Nov 12 '05 #2
Thanks, Duane!

How about Union queries?

Charlene

"Duane Hookom" <duanehookom@NO_SPAMhotmail.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
All of your select queries should show. Action queries won't and shouldn't.

--
Duane Hookom
MS Access MVP
"Charlene" <cp***@earthlink.net> wrote in message
news:uY***************@newsread3.news.atl.earthlin k.net...
I'm trying to set up a mail merge using a query out of my database for the

data
source. When I browse for a data source and open my database, only a few

queries
from the database are listed - the one I want of course is not there. Does
anyone know how I can list all the queries and then be able to select the

one I
want.

Thanks!

Charlene


Nov 12 '05 #3
Did you try it? When I did, the union queries were displayed.

--
Duane Hookom
Microsoft Access MVP
"Charlene" <cp***@earthlink.net> wrote in message
news:tf*****************@newsread3.news.atl.earthl ink.net...
Thanks, Duane!

How about Union queries?

Charlene

"Duane Hookom" <duanehookom@NO_SPAMhotmail.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
All of your select queries should show. Action queries won't and shouldn't.
--
Duane Hookom
MS Access MVP
"Charlene" <cp***@earthlink.net> wrote in message
news:uY***************@newsread3.news.atl.earthlin k.net...
I'm trying to set up a mail merge using a query out of my database for the
data
source. When I browse for a data source and open my database, only a
few queries
from the database are listed - the one I want of course is not there.
Does anyone know how I can list all the queries and then be able to select

the one I
want.

Thanks!

Charlene



Nov 12 '05 #4
Yes unless you use Parameter(s) in the Union Query.

--
HTH
Van T. Dinh
MVP (Access)

"Charlene" <cp***@earthlink.net> wrote in message
news:tf*****************@newsread3.news.atl.earthl ink.net...
Thanks, Duane!

How about Union queries?

Charlene

Nov 12 '05 #5
Van,

Thanks for the response!

Very interesting! I experience a problem anytime I use a parameter whether it's
a simple select , union or whatever. What is your reasoning it mentioning
Parameters as a problem?

Charlene
"Van T. Dinh" <Va*******@discussions.microsoft.com> wrote in message
news:e6**************@TK2MSFTNGP11.phx.gbl...
Yes unless you use Parameter(s) in the Union Query.

--
HTH
Van T. Dinh
MVP (Access)

"Charlene" <cp***@earthlink.net> wrote in message
news:tf*****************@newsread3.news.atl.earthl ink.net...
Thanks, Duane!

How about Union queries?

Charlene


Nov 12 '05 #6
I am not sure the reason(s) why Microsoft won't make the Parameter Queries
available for MailMerge.

*My guess* is that the GUI required for Parameter Dialog is a function of
Access and Query processing is a function of JET. Since JET is more or less
a"shared" service in Windows, it is available for Word MailMerge. Since
Parameter Dialog is a function of Access (which may or may not be in the
memory when you run MailMerge), there is nothing to process the required
Parameter Dialog and hence Parameter Queries cannot be used and therefore
not available / visible.

--
HTH
Van T. Dinh
MVP (Access)

"Charlene" <cp***@earthlink.net> wrote in message
news:sN*****************@newsread1.news.atl.earthl ink.net...
Van,

Thanks for the response!

Very interesting! I experience a problem anytime I use a parameter whether it's a simple select , union or whatever. What is your reasoning it mentioning
Parameters as a problem?

Charlene

Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: William Wisnieski | last post by:
Hi Everyone, Access 2000 I have some code behind a button that performs a word merge with a query data source. The merge works fine. But what I'd like to do somehow is after the merge is...
2
by: Aaron | last post by:
hello, i am perfoming a mail merge with the following code. Public Function MergeIt() Dim objWord As Object Set objWord = GetObject("C:\MyMerge.doc", "Word.Document") ' Make Word visible....
1
by: Lisa | last post by:
I have a query named QryDept where one of the fields is DeptID. The query is used for the data source of a mail merge letter. I would like to control which department is to get the mail merge...
8
by: Squirrel | last post by:
Hi everyone, I've created a mail merge Word doc. (using Office XP) , the data source is an Access query. Functionality I'm attempting to set up is: User sets a boolean field to true for...
3
by: Andy Davis | last post by:
I have set up a mail merge document in Word 2003 which gets its data from my Access 2000 database. I want to set up a button on a form that: 1. runs the query to provide the dat for the merge...
4
by: lesperancer | last post by:
I have 3 tables (office97) tblQuote quoteNbr tblDetails ( quote : 1 <-> M: quoteDetails) quoteNbr detailLine product value
6
by: crealesmith | last post by:
Firstly, I have no problem with mail merging to Word, VB code for that works perfectly. On one mail merge I need to merge 15 fields of data that are from 3 seperate records. The 3 records are all...
1
by: mr k | last post by:
Hi, I wanted to use mail merge with forms but Text form fields are not retained during mail merge in Word, I got the code from Microsoft but it doesn't remember the text form field options such as...
7
by: =?Utf-8?B?QmFkaXM=?= | last post by:
Hi, I'm trying to follow a mail merging example in C#.Net that I got from: http://support.microsoft.com/default.aspx/kb/301659 and in one the methods: Word.Application wrdApp; Word._Document...
1
by: kayberrie | last post by:
I want to write a VBA mail merge code. I want to link the code/macro/dohicky to a nifty little button so it makes life easy. I think I can handle the button part, the code part - not so much. I know...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.