Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2013
    Location
    Rowley Regis, West Midlands, England, United Kingdom
    Posts
    4

    Help Needed for Mail Merge From Several Access Tables

    Hi Guys and Gals,



    I am pretty new to the using of Microsoft Access. Part of my role at work is to mantain a register of contacts (Aprox 2000 records). When moving into my role there was already an Access Database in place that had been designed and created by another member of staff prior to leaving.

    The database contains a wealth of information, however this is spread across MULTIPLE tables (23 to be exact)

    I am trying to create a word document that is basically a mail merge in order for me to drag the contact information over to print. However all the information I require is not in one table. Word will only extract the data from one source.

    I have been trying now for 2 weeks to complete this task with absolutely no success. Is there anyone who can help me.?

    I live and work in the West Midlands if there is anyone local that would spare me some time.

    Mitchell

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    I thought mail merge could use a query? Although think it has issue with calculated fields.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Join Date
    Oct 2013
    Location
    Rowley Regis, West Midlands, England, United Kingdom
    Posts
    4

    Help Needed for Mail Merge From Several Access Tables

    Yeah my problem is creating the query. It's a nightmare trying to get the data I need.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    What is the problem? These tables involve several one-to-many or many-to-many relationships?

    Might have to use VBA code to write data to a temp table and use that table as source for the mail merge.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Join Date
    Oct 2013
    Location
    Rowley Regis, West Midlands, England, United Kingdom
    Posts
    4

    Help Needed for Mail Merge From Several Access Tables

    That's sounding like what it needs. However I haven't got a clue how to extract the data from the other tables into one temp table.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Since I don't know your data structure, can't be specific. Methods could involve aggregate queries, INSERT SELECT queries, VBA code opening recordsets, etc.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    carpstar is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    1
    Have you tried creating a 'make table" query selecting the fields you need from each table and then running the mail merge from it?

  8. #8
    Join Date
    Oct 2013
    Location
    Rowley Regis, West Midlands, England, United Kingdom
    Posts
    4

    Help Needed for Mail Merge From Several Access Tables

    Hi there. Yes I've tried that. However when I add from a different table I loose data. Ie. I have 2000 data records. I take data from table 1. I still have 2000. I then take data from another and the it drops to 1800 records. If I start with the other table it works until I then go to another table.

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Why are you adding data from various tables in separate actions. The suggestion was to have a single query that pulled all the data together, do whatever calcs you need, then make a table from that query. Otherwise, manually create the 'temp' table with desired structure and run INSERT queries to fill the table with the desired data. Execute the queries manually or build code to run them at the click of a button.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Button on form needed to run mail merge from query
    By nic79uk in forum Programming
    Replies: 1
    Last Post: 02-17-2012, 07:34 AM
  2. Help needed with mail merge to Word
    By mhart in forum Import/Export Data
    Replies: 1
    Last Post: 08-12-2011, 12:22 PM
  3. Mail Merge with Access
    By missesclick in forum Access
    Replies: 6
    Last Post: 12-09-2010, 01:28 PM
  4. Mail merge from two access tables
    By Peter in forum Access
    Replies: 2
    Last Post: 08-24-2010, 12:17 PM
  5. Mail Merge w/ data from 2 tables
    By sedain121 in forum Import/Export Data
    Replies: 3
    Last Post: 06-30-2010, 09:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums