Results 1 to 6 of 6
  1. #1
    oldlearner is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2015
    Posts
    31

    Microsoft Word Mail merge shows Post Code ID instead of Post Code


    I have a Table that shows usual personal data fields, name Address Lines and post codes. The post codes are from a look up table with over 50000 postcodes. When I try to undertake a mail merge the name and address fields update fine but the post code inserts the post code ID number. Any Ideas on how to solve this would be appreciated. Kind Regards Old Learner

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Create a query that joins the two tables on the ID field and returns the desired fields, and merge on that instead of the table directly.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    oldlearner is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2015
    Posts
    31
    Thanks for the Advice Paul. Tried merging directly from the table, from a general query and as you advised, a query joining the 2 tables on the ID field. All 3 methods return the same post code ID values when I try to merge into the word document.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    The query should be returning the text field from the post code table, not the ID field from the main table.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    oldlearner is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2015
    Posts
    31
    Thanks Paul. I did what you said. It did put a text post code in but it was the wrong post code. Record 1 in main table had a post code ID of 9008 (TS3 0AA). Joining the ID fields brought up Record ID 1 in the Post code table (DLL 1AA). However this pointed me in the right direction to solve the problem. It required joining the post code field in the main table to the ID in the post code table. Thanks very much for your assistance. Much appreciated. Kind Regards Old Learner

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Sorry, that's what I meant but I didn't say it well. Glad you got it sorted.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Copy only the first 2 characters of a post code
    By Jay Pee in forum Database Design
    Replies: 4
    Last Post: 03-12-2014, 07:17 AM
  2. Replies: 3
    Last Post: 05-26-2013, 03:07 PM
  3. Trying to get mail merge code to work
    By itm in forum Programming
    Replies: 0
    Last Post: 09-13-2012, 01:01 PM
  4. VBA Code for Mail Merge via Dynamic Data Exchange
    By Ganymede in forum Programming
    Replies: 2
    Last Post: 12-28-2011, 05:20 PM
  5. Mail Merge in Microsoft Word
    By imintrouble in forum Misc
    Replies: 0
    Last Post: 12-02-2011, 03:48 PM

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