Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
shirl[_6_] shirl[_6_] is offline
external usenet poster
 
Posts: 1
Default Mailmerge from Access Query - Data missing in Word


Hi

I am using Office 2007. I have a simple database which contains about
20 records. Have created a query to find people who live in a certain
area. This query is then required to be merged to a Word document. I
have tried doing this straight from access and I have also tried from
Word using the mailmerge wizard.

Which ever method I use I when I tell it to use the query the data in
the query is missing when in Word. I found another message in this
forum which is similar and suggests using a make "table query" will get
over the problem, however, this is for an exam for students and they
must use the query for the mailmerge.

I have also tried using the word advanced options "Confirm File Format
on Open", this does work but is very confusing for the students.

Hope someone can come up with a simple explanation.

Thanks
Shirley




--
shirl
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Mailmerge from Access Query - Data missing in Word

Yes, it can be confusing.

Is your query a "parameter query" (where the user has to provide the
value of one or more fields), or does it contain wildcards (LIKE
'something*'), user-defined functions (written in Access VBA), financial
series functions, or the "replace" function?

If so, let us know which - perhaps a simpler query would demonstrate the
specific thing you want to demonstrate (not sure what that is exactly)
without so many problems.

Peter Jamieson

http://tips.pjmsn.me.uk

shirl wrote:
Hi

I am using Office 2007. I have a simple database which contains about
20 records. Have created a query to find people who live in a certain
area. This query is then required to be merged to a Word document. I
have tried doing this straight from access and I have also tried from
Word using the mailmerge wizard.

Which ever method I use I when I tell it to use the query the data in
the query is missing when in Word. I found another message in this
forum which is similar and suggests using a make "table query" will get
over the problem, however, this is for an exam for students and they
must use the query for the mailmerge.

I have also tried using the word advanced options "Confirm File Format
on Open", this does work but is very confusing for the students.

Hope someone can come up with a simple explanation.

Thanks
Shirley




  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
shirl[_7_] shirl[_7_] is offline
external usenet poster
 
Posts: 1
Default Mailmerge from Access Query - Data missing in Word


Hi

It is just a simple Access query with the critera Like A* to find all
the postcodes which begin with A.

Shirley

Peter Jamieson;3202208 Wrote:
Yes, it can be confusing.

Is your query a "parameter query" (where the user has to provide the
value of one or more fields), or does it contain wildcards (LIKE
'something*'), user-defined functions (written in Access VBA),
financial
series functions, or the "replace" function?

If so, let us know which - perhaps a simpler query would demonstrate
the
specific thing you want to demonstrate (not sure what that is exactly)

without so many problems.

Peter Jamieson

http://tips.pjmsn.me.uk

shirl wrote:-
Hi

I am using Office 2007. I have a simple database which contains
about
20 records. Have created a query to find people who live in a
certain
area. This query is then required to be merged to a Word document.
I
have tried doing this straight from access and I have also tried from
Word using the mailmerge wizard.

Which ever method I use I when I tell it to use the query the data in
the query is missing when in Word. I found another message in this
forum which is similar and suggests using a make "table query" will
get
over the problem, however, this is for an exam for students and they
must use the query for the mailmerge.

I have also tried using the word advanced options "Confirm File
Format
on Open", this does work but is very confusing for the students.

Hope someone can come up with a simple explanation.

Thanks
Shirley



-





--
shirl
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Mailmerge from Access Query - Data missing in Word

OK, there is unfortunately a problem with using wildcards in queries
being used by merge, because Access itself expects to use * for multiple
characters and ? for single charactes, but when Word 2002 or later gets
data from Access, it uses OLE DB which does not recognise * and ? but
wants to use % and _ instead.

The simplest thing to do in this case is probably to have two queries,
one with
Like 'A*'
for use within Access itself, and another with
Like 'A%'
for use by merge. Obviously, if you only have to present one of these to
students, life will probably be simpler...


Peter Jamieson

http://tips.pjmsn.me.uk

shirl wrote:
Hi

It is just a simple Access query with the critera Like A* to find all
the postcodes which begin with A.

Shirley

Peter Jamieson;3202208 Wrote:
Yes, it can be confusing.

Is your query a "parameter query" (where the user has to provide the
value of one or more fields), or does it contain wildcards (LIKE
'something*'), user-defined functions (written in Access VBA),
financial
series functions, or the "replace" function?

If so, let us know which - perhaps a simpler query would demonstrate
the
specific thing you want to demonstrate (not sure what that is exactly)

without so many problems.

Peter Jamieson

http://tips.pjmsn.me.uk

shirl wrote:-
Hi

I am using Office 2007. I have a simple database which contains
about
20 records. Have created a query to find people who live in a
certain
area. This query is then required to be merged to a Word document.
I
have tried doing this straight from access and I have also tried from
Word using the mailmerge wizard.

Which ever method I use I when I tell it to use the query the data in
the query is missing when in Word. I found another message in this
forum which is similar and suggests using a make "table query" will
get
over the problem, however, this is for an exam for students and they
must use the query for the mailmerge.

I have also tried using the word advanced options "Confirm File
Format
on Open", this does work but is very confusing for the students.

Hope someone can come up with a simple explanation.

Thanks
Shirley



-





  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
shirl[_8_] shirl[_8_] is offline
external usenet poster
 
Posts: 1
Default Mailmerge from Access Query - Data missing in Word


Peter

Thanks for the reply, a colleague has also found a similar response and
we will report it to the exam board, I suspect that whoever wrote the
exam paper did not test using a query for a mail merge.

Thanks for taking the time to reply
Shirl


Peter Jamieson;3203295 Wrote:
OK, there is unfortunately a problem with using wildcards in queries
being used by merge, because Access itself expects to use * for
multiple
characters and ? for single charactes, but when Word 2002 or later gets

data from Access, it uses OLE DB which does not recognise * and ? but
wants to use % and _ instead.

The simplest thing to do in this case is probably to have two queries,

one with
Like 'A*'
for use within Access itself, and another with
Like 'A%'
for use by merge. Obviously, if you only have to present one of these
to
students, life will probably be simpler...


Peter Jamieson

http://tips.pjmsn.me.uk

shirl wrote:-
Hi

It is just a simple Access query with the critera Like A* to find all
the postcodes which begin with A.

Shirley

Peter Jamieson;3202208 Wrote: -
Yes, it can be confusing.

Is your query a "parameter query" (where the user has to provide the
value of one or more fields), or does it contain wildcards (LIKE
'something*'), user-defined functions (written in Access VBA),
financial
series functions, or the "replace" function?

If so, let us know which - perhaps a simpler query would demonstrate
the
specific thing you want to demonstrate (not sure what that is
exactly)

without so many problems.

Peter Jamieson

http://tips.pjmsn.me.uk

shirl wrote:-
Hi

I am using Office 2007. I have a simple database which contains
about
20 records. Have created a query to find people who live in a
certain
area. This query is then required to be merged to a Word document.
I
have tried doing this straight from access and I have also tried from
Word using the mailmerge wizard.

Which ever method I use I when I tell it to use the query the data in
the query is missing when in Word. I found another message in this
forum which is similar and suggests using a make "table query" will
get
over the problem, however, this is for an exam for students and they
must use the query for the mailmerge.

I have also tried using the word advanced options "Confirm File
Format
on Open", this does work but is very confusing for the students.

Hope someone can come up with a simple explanation.

Thanks
Shirley



--



-





--
shirl
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
Data missing in Mailmerge from Access query Sally Smith Mailmerge 5 August 5th 08 09:48 AM
access query mailmerge - no data Melissa Mailmerge 5 May 25th 06 11:51 PM
Mailmerge Query - Works in Access; fails in Word Gary Stark Mailmerge 4 October 6th 05 07:57 PM
How to use access query computed fields in Word mailmerge Rey Mailmerge 5 June 23rd 05 06:26 PM
MailMerge Word 2003 to Access 2000 query blank data BCool Mailmerge 1 January 15th 05 12:31 AM


All times are GMT +1. The time now is 08:31 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"