Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Lee Lee is offline
external usenet poster
 
Posts: 99
Default Data sources for different mailmerge letters

I am working with Word 2003 and Access 2003 and I am using mailmerge to
complete some letters. I have multiple datasources that I use for different
letters. I would like to use some of the "columns" in one database with some
other "columns" in another data base. I am currently cut an pasting columns
and inserting them into an existing database, however, when I finish that,
the datasource will not allow me edit the mailmerge recipients, to enter the
data to show up in the mailmerge letter. The only way that I can enter the
data is to go to the Access database and enter the information and it will
then show up in the mailmerge letter. Otherwise, I have to re-develop the
whole datasource for the particular entries in need in the letter, is there
an eaier way?
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Data sources for different mailmerge letters

Use a Select query in Access to combine the required columns from the
individual tables.

--
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

"Lee" wrote in message
...
I am working with Word 2003 and Access 2003 and I am using mailmerge to
complete some letters. I have multiple datasources that I use for
different
letters. I would like to use some of the "columns" in one database with
some
other "columns" in another data base. I am currently cut an pasting
columns
and inserting them into an existing database, however, when I finish that,
the datasource will not allow me edit the mailmerge recipients, to enter
the
data to show up in the mailmerge letter. The only way that I can enter
the
data is to go to the Access database and enter the information and it will
then show up in the mailmerge letter. Otherwise, I have to re-develop the
whole datasource for the particular entries in need in the letter, is
there
an eaier way?



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Lee Lee is offline
external usenet poster
 
Posts: 99
Default Data sources for different mailmerge letters

how do I do that and Word will recognize it as OAL? How do I link two tables
when there is not a match of data? The table I have has matching field
names, but the data in those fields are different. For example, both tables
have a "name" field but the names in that field are different, so the query
doesn't link the tables. I even tried to type the same name in both tables,
ran the query and that worked, but Word did not recognize it as an OAL, and
the edit button was greyed out when I tried to attach it to the mailmerge
document.

"Doug Robbins - Word MVP" wrote:

Use a Select query in Access to combine the required columns from the
individual tables.

--
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

"Lee" wrote in message
...
I am working with Word 2003 and Access 2003 and I am using mailmerge to
complete some letters. I have multiple datasources that I use for
different
letters. I would like to use some of the "columns" in one database with
some
other "columns" in another data base. I am currently cut an pasting
columns
and inserting them into an existing database, however, when I finish that,
the datasource will not allow me edit the mailmerge recipients, to enter
the
data to show up in the mailmerge letter. The only way that I can enter
the
data is to go to the Access database and enter the information and it will
then show up in the mailmerge letter. Otherwise, I have to re-develop the
whole datasource for the particular entries in need in the letter, is
there
an eaier way?




  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Data sources for different mailmerge letters

To create such a query, there will need to be a field in each table that
contains the relevant information to allow a link to be set up between the
tables.

--
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

"Lee" wrote in message
...
how do I do that and Word will recognize it as OAL? How do I link two
tables
when there is not a match of data? The table I have has matching field
names, but the data in those fields are different. For example, both
tables
have a "name" field but the names in that field are different, so the
query
doesn't link the tables. I even tried to type the same name in both
tables,
ran the query and that worked, but Word did not recognize it as an OAL,
and
the edit button was greyed out when I tried to attach it to the mailmerge
document.

"Doug Robbins - Word MVP" wrote:

Use a Select query in Access to combine the required columns from the
individual tables.

--
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

"Lee" wrote in message
...
I am working with Word 2003 and Access 2003 and I am using mailmerge to
complete some letters. I have multiple datasources that I use for
different
letters. I would like to use some of the "columns" in one database
with
some
other "columns" in another data base. I am currently cut an pasting
columns
and inserting them into an existing database, however, when I finish
that,
the datasource will not allow me edit the mailmerge recipients, to
enter
the
data to show up in the mailmerge letter. The only way that I can enter
the
data is to go to the Access database and enter the information and it
will
then show up in the mailmerge letter. Otherwise, I have to re-develop
the
whole datasource for the particular entries in need in the letter, is
there
an eaier way?






  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Data sources for different mailmerge letters

When you create your datasources via Word 2003, Word creates an Access .mdb
(and calls it an "Office Address List" that has a very specific structure -
for example, it has a single table and a single query.

When Word uses a .mdb as a data source, Word only lets you use the Edit
button in Mail Merge Recipients if Word thinks the .mdb is also an OAL. But
if you add a table (or maybe two tables) to the .mdb, Word will stop
recognising it as an OAL. The trouble is that even if you delete those extra
tables, Word may still not recognise the .mdb as an OAL. In other words, it
is not clear exactly what you have to do to a .mdb to ensure that Word
recognises it as an OAL. However, if you have added tables or queries as
part of your process of copying columns, I suggest the first thing you do is
back up your .mdbs and delete the objects you added. Then I'd probably also
run the one remaining query from within Access. It may not be enough, but
worth a try.

Peter Jamieson

"Lee" wrote in message
...
I am working with Word 2003 and Access 2003 and I am using mailmerge to
complete some letters. I have multiple datasources that I use for
different
letters. I would like to use some of the "columns" in one database with
some
other "columns" in another data base. I am currently cut an pasting
columns
and inserting them into an existing database, however, when I finish that,
the datasource will not allow me edit the mailmerge recipients, to enter
the
data to show up in the mailmerge letter. The only way that I can enter
the
data is to go to the Access database and enter the information and it will
then show up in the mailmerge letter. Otherwise, I have to re-develop the
whole datasource for the particular entries in need in the letter, is
there
an eaier way?





  #6   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Lee Lee is offline
external usenet poster
 
Posts: 99
Default Data sources for different mailmerge letters

I tried to run a query and you are correct, Word did not recognize it as an
OAL, so I could not edit the demographics (name, street number, etc.) It
appears to me that the only option I have is to edit the Mail Merge
Recipients and rename the columns and to meet the specifics for the letter
and save the datasource for each category of letters I write. Any other
suggestions?

thanks,
Lee

"Peter Jamieson" wrote:

When you create your datasources via Word 2003, Word creates an Access .mdb
(and calls it an "Office Address List" that has a very specific structure -
for example, it has a single table and a single query.

When Word uses a .mdb as a data source, Word only lets you use the Edit
button in Mail Merge Recipients if Word thinks the .mdb is also an OAL. But
if you add a table (or maybe two tables) to the .mdb, Word will stop
recognising it as an OAL. The trouble is that even if you delete those extra
tables, Word may still not recognise the .mdb as an OAL. In other words, it
is not clear exactly what you have to do to a .mdb to ensure that Word
recognises it as an OAL. However, if you have added tables or queries as
part of your process of copying columns, I suggest the first thing you do is
back up your .mdbs and delete the objects you added. Then I'd probably also
run the one remaining query from within Access. It may not be enough, but
worth a try.

Peter Jamieson

"Lee" wrote in message
...
I am working with Word 2003 and Access 2003 and I am using mailmerge to
complete some letters. I have multiple datasources that I use for
different
letters. I would like to use some of the "columns" in one database with
some
other "columns" in another data base. I am currently cut an pasting
columns
and inserting them into an existing database, however, when I finish that,
the datasource will not allow me edit the mailmerge recipients, to enter
the
data to show up in the mailmerge letter. The only way that I can enter
the
data is to go to the Access database and enter the information and it will
then show up in the mailmerge letter. Otherwise, I have to re-develop the
whole datasource for the particular entries in need in the letter, is
there
an eaier way?




  #7   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Data sources for different mailmerge letters

After you created the database you wanted, did you try getting rid of all
tables and queries except the following:
a. a table called Office_Address_List
b. a query called Office Address List that executes the following SQL:

SELECT * FROm [Office_Address_List];

? If you did, and you still can't edit in Word, then try the following if
you can:

Create a new database in Access

Open the database you want in another instance of Access

Open the database window in both databases.

Open the list of tables in both databases

Drag and drop the Office_Address_List table to the new database

Open the list of queries in both database

Drag and drop the Office Address List query to the new database.

Close both databases.

Try attaching to the new database.

I've only just tried this and it seems to work, at leaast in part. If it
does, I expect there's an easier way to do it but at least there's /a/ way.

Otherwise, I don't know of another way except "the long way around" of the
kind you describe.

Peter Jamieson

"Lee" wrote in message
...
I tried to run a query and you are correct, Word did not recognize it as an
OAL, so I could not edit the demographics (name, street number, etc.) It
appears to me that the only option I have is to edit the Mail Merge
Recipients and rename the columns and to meet the specifics for the letter
and save the datasource for each category of letters I write. Any other
suggestions?

thanks,
Lee

"Peter Jamieson" wrote:

When you create your datasources via Word 2003, Word creates an Access
.mdb
(and calls it an "Office Address List" that has a very specific
structure -
for example, it has a single table and a single query.

When Word uses a .mdb as a data source, Word only lets you use the Edit
button in Mail Merge Recipients if Word thinks the .mdb is also an OAL.
But
if you add a table (or maybe two tables) to the .mdb, Word will stop
recognising it as an OAL. The trouble is that even if you delete those
extra
tables, Word may still not recognise the .mdb as an OAL. In other words,
it
is not clear exactly what you have to do to a .mdb to ensure that Word
recognises it as an OAL. However, if you have added tables or queries as
part of your process of copying columns, I suggest the first thing you do
is
back up your .mdbs and delete the objects you added. Then I'd probably
also
run the one remaining query from within Access. It may not be enough, but
worth a try.

Peter Jamieson

"Lee" wrote in message
...
I am working with Word 2003 and Access 2003 and I am using mailmerge to
complete some letters. I have multiple datasources that I use for
different
letters. I would like to use some of the "columns" in one database
with
some
other "columns" in another data base. I am currently cut an pasting
columns
and inserting them into an existing database, however, when I finish
that,
the datasource will not allow me edit the mailmerge recipients, to
enter
the
data to show up in the mailmerge letter. The only way that I can enter
the
data is to go to the Access database and enter the information and it
will
then show up in the mailmerge letter. Otherwise, I have to re-develop
the
whole datasource for the particular entries in need in the letter, is
there
an eaier way?






  #8   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Lee Lee is offline
external usenet poster
 
Posts: 99
Default Data sources for different mailmerge letters

Thank you for writing back. I am not sure I understand how to combine
different parts of the database into a new database. For example, one
database has diagnostic information using certain tests, another database
uses other specific tests and lists diagnostic information. I would like to
combine both databases listing both tests, So, when I try to move the Office
Address List from one database into another database, it asks "Paste table
as...", so I give it the name Office Address List2, same for the query. When
I go to attach the new database to the mailmerge letter, it does allow me to
edit (yeah!), but it takes the original Office Address List (without the
"2"). What am I doing wrong?

"Peter Jamieson" wrote:

After you created the database you wanted, did you try getting rid of all
tables and queries except the following:
a. a table called Office_Address_List
b. a query called Office Address List that executes the following SQL:

SELECT * FROm [Office_Address_List];

? If you did, and you still can't edit in Word, then try the following if
you can:

Create a new database in Access

Open the database you want in another instance of Access

Open the database window in both databases.

Open the list of tables in both databases

Drag and drop the Office_Address_List table to the new database

Open the list of queries in both database

Drag and drop the Office Address List query to the new database.

Close both databases.

Try attaching to the new database.

I've only just tried this and it seems to work, at leaast in part. If it
does, I expect there's an easier way to do it but at least there's /a/ way.

Otherwise, I don't know of another way except "the long way around" of the
kind you describe.

Peter Jamieson

"Lee" wrote in message
...
I tried to run a query and you are correct, Word did not recognize it as an
OAL, so I could not edit the demographics (name, street number, etc.) It
appears to me that the only option I have is to edit the Mail Merge
Recipients and rename the columns and to meet the specifics for the letter
and save the datasource for each category of letters I write. Any other
suggestions?

thanks,
Lee

"Peter Jamieson" wrote:

When you create your datasources via Word 2003, Word creates an Access
.mdb
(and calls it an "Office Address List" that has a very specific
structure -
for example, it has a single table and a single query.

When Word uses a .mdb as a data source, Word only lets you use the Edit
button in Mail Merge Recipients if Word thinks the .mdb is also an OAL.
But
if you add a table (or maybe two tables) to the .mdb, Word will stop
recognising it as an OAL. The trouble is that even if you delete those
extra
tables, Word may still not recognise the .mdb as an OAL. In other words,
it
is not clear exactly what you have to do to a .mdb to ensure that Word
recognises it as an OAL. However, if you have added tables or queries as
part of your process of copying columns, I suggest the first thing you do
is
back up your .mdbs and delete the objects you added. Then I'd probably
also
run the one remaining query from within Access. It may not be enough, but
worth a try.

Peter Jamieson

"Lee" wrote in message
...
I am working with Word 2003 and Access 2003 and I am using mailmerge to
complete some letters. I have multiple datasources that I use for
different
letters. I would like to use some of the "columns" in one database
with
some
other "columns" in another data base. I am currently cut an pasting
columns
and inserting them into an existing database, however, when I finish
that,
the datasource will not allow me edit the mailmerge recipients, to
enter
the
data to show up in the mailmerge letter. The only way that I can enter
the
data is to go to the Access database and enter the information and it
will
then show up in the mailmerge letter. Otherwise, I have to re-develop
the
whole datasource for the particular entries in need in the letter, is
there
an eaier way?






  #9   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Data sources for different mailmerge letters

How to combine data depends on exactly what data you have and what the end
result needs to be. Generally speaking you can "phyisically" combine them
(which is what you seem to be doing at the moment) or you can "logically"
combine them using a query, as Doug Robbins suggested. What's more, since
you can use the results of the "logical combination" to create a new table,
thus doing a "physical combine" there are good reasons to follow the route
he suggested.

The reasons that I've gone along your existing "physically combining" route
are
a. the additional requirement to be able to edit the combined data from
Word mailmerge in the usual way.
b. it sounded as if you'd already worked out how to do the combination and
that the only problem was how to use the results in Word.

However, you may find that not being able to do (a) is a price worth paying
for the additional power that using queries can give you, and if you haven't
actually worked out how to do (b) then I can only provide some hints.

If you have two OALs (Office address lists) with identical data fields, oe
with 5 records and the other with 10, and you just want to make a new table
with all 15 records. In that case you ought to be able to open the two
tables, verify that all the columns are in the same sequence, then select
the records in one table and copy them into the other one.

If you have two OALs that decsribe the same things (or people) but contain
different information, the to combine them physically you would need
a. to ensure that the two tables had the same number of records
b. to sort them so that the info for the first object is in record one in
both tables, and so on.
c. to copy/paste the columns ffrom one table to another.

However, in this case it probably would be easier to define a query and use
the results to create a new table.

So, when I try to move the Office
Address List from one database into another database, it asks "Paste table
as...", so I give it the name Office Address List2, same for the query.
When
I go to attach the new database to the mailmerge letter, it does allow me
to
edit (yeah!), but it takes the original Office Address List (without the
"2"). What am I doing wrong?


In other words, you're not really doing the right thing above (as far as I
can see - all you're doing is ensuring the two tables are in the same
database, which does not in itself get you anywhere.

It's difficult to know what to suggest at this point, but maybe you could
think about the above and try to work out what applies to your situation.
Let me know if I've misunderstood any key points.

Peter Jamieson
"Lee" wrote in message
...
Thank you for writing back. I am not sure I understand how to combine
different parts of the database into a new database. For example, one
database has diagnostic information using certain tests, another database
uses other specific tests and lists diagnostic information. I would like
to
combine both databases listing both tests, So, when I try to move the
Office
Address List from one database into another database, it asks "Paste table
as...", so I give it the name Office Address List2, same for the query.
When
I go to attach the new database to the mailmerge letter, it does allow me
to
edit (yeah!), but it takes the original Office Address List (without the
"2"). What am I doing wrong?

"Peter Jamieson" wrote:

After you created the database you wanted, did you try getting rid of all
tables and queries except the following:
a. a table called Office_Address_List
b. a query called Office Address List that executes the following SQL:

SELECT * FROm [Office_Address_List];

? If you did, and you still can't edit in Word, then try the following if
you can:

Create a new database in Access

Open the database you want in another instance of Access

Open the database window in both databases.

Open the list of tables in both databases

Drag and drop the Office_Address_List table to the new database

Open the list of queries in both database

Drag and drop the Office Address List query to the new database.

Close both databases.

Try attaching to the new database.

I've only just tried this and it seems to work, at leaast in part. If it
does, I expect there's an easier way to do it but at least there's /a/
way.

Otherwise, I don't know of another way except "the long way around" of
the
kind you describe.

Peter Jamieson

"Lee" wrote in message
...
I tried to run a query and you are correct, Word did not recognize it as
an
OAL, so I could not edit the demographics (name, street number, etc.)
It
appears to me that the only option I have is to edit the Mail Merge
Recipients and rename the columns and to meet the specifics for the
letter
and save the datasource for each category of letters I write. Any
other
suggestions?

thanks,
Lee

"Peter Jamieson" wrote:

When you create your datasources via Word 2003, Word creates an Access
.mdb
(and calls it an "Office Address List" that has a very specific
structure -
for example, it has a single table and a single query.

When Word uses a .mdb as a data source, Word only lets you use the
Edit
button in Mail Merge Recipients if Word thinks the .mdb is also an
OAL.
But
if you add a table (or maybe two tables) to the .mdb, Word will stop
recognising it as an OAL. The trouble is that even if you delete those
extra
tables, Word may still not recognise the .mdb as an OAL. In other
words,
it
is not clear exactly what you have to do to a .mdb to ensure that Word
recognises it as an OAL. However, if you have added tables or queries
as
part of your process of copying columns, I suggest the first thing you
do
is
back up your .mdbs and delete the objects you added. Then I'd probably
also
run the one remaining query from within Access. It may not be enough,
but
worth a try.

Peter Jamieson

"Lee" wrote in message
...
I am working with Word 2003 and Access 2003 and I am using mailmerge
to
complete some letters. I have multiple datasources that I use for
different
letters. I would like to use some of the "columns" in one database
with
some
other "columns" in another data base. I am currently cut an pasting
columns
and inserting them into an existing database, however, when I finish
that,
the datasource will not allow me edit the mailmerge recipients, to
enter
the
data to show up in the mailmerge letter. The only way that I can
enter
the
data is to go to the Access database and enter the information and
it
will
then show up in the mailmerge letter. Otherwise, I have to
re-develop
the
whole datasource for the particular entries in need in the letter,
is
there
an eaier way?








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
Detach or change SQL data source for Word template, and other Qs SJMac Mailmerge 6 July 27th 06 10:12 AM
Cannot find datasource George Microsoft Word Help 3 July 22nd 06 03:38 PM
Change Location of Open Data Sources Mary Mailmerge 4 March 7th 06 07:59 PM
Mailmerge with multipule letters anton Mailmerge 4 April 5th 05 07:29 PM
multiple docs, one data source kp Mailmerge 12 January 31st 05 04:41 PM


All times are GMT +1. The time now is 05:49 AM.

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

About Us

"It's about Microsoft Word"