Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
SAC SAC is offline
external usenet poster
 
Posts: 3
Default Not all data sources showing

I'm using Word 2003.

When selecting data sources for a letter, I select an Access database, but
not all the queries show up after that. How can I get them to show for
selection?

Thanks for your help.


  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Not all data sources showing

Some query types won't show (Union queries, and Parameter queries) when
you connect with the default method in Word 2003, which is OLE DB.
Typically you have to revert to the old DDE method (check Word
Tools-Options-Confirm conversion at open, then go through the
connection process again, and select the DDE option in the extra Confirm
box that appears). If you are in a position to modify the database, you
may be able to get some queries to run by wrapping them in a another
query that simply does

SELECT * FROM thequerythatOLEDBdoesnotsee

The problem with parameter queries OLE DB is that OLE DB itself has no
mechanism to prompt for the parameters, and nor does Word - with DDE,
Access does it. To work around that, you have to use e.g. Word VBA to
set up the parameters (prompting if necessary) then either generate the
SQL text that the Query would issue, or use a special technique to run
the query from Word VBA. I've never tired it for real, and it wouldn't
surprise me if Microsoft hadn't blocked that particular option since I
last looked.

Peter Jamieson

http://tips.pjmsn.me.uk

SAC wrote:
I'm using Word 2003.

When selecting data sources for a letter, I select an Access database, but
not all the queries show up after that. How can I get them to show for
selection?

Thanks for your help.


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I fix references showing up as invalid sources in word 200. no sources Microsoft Word Help 0 November 15th 07 09:27 PM
My Data Sources Inobugs Microsoft Word Help 0 August 7th 07 12:24 AM
data sources Alex New Users 2 September 21st 06 06:24 AM
merging 2 data sources pumpkin4455 Mailmerge 2 April 27th 06 04:17 PM
multiple data sources and data form Chico Mailmerge 1 October 5th 05 04:56 AM


All times are GMT +1. The time now is 12:24 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"