Results 1 to 6 of 6
  1. #1
    nt100 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Feb 2018
    Posts
    5

    A condition to select fields to do mailmerge

    Hi,



    My application needs to do a mailmerge with home address or office address. A condition is applied to the mailmerge.

    The condition field is "PostToHome" [Y/N] to determine mailmerge with either field "HomeAdd" or field "OfficeAdd" values.

    Is there any suggestions?


    Best.

  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
    Where exactly? One way would be a field in a query:

    IIf(PostToHome, HomeAdd, OfficeAdd)
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    nt100 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Feb 2018
    Posts
    5
    Quote Originally Posted by pbaldy View Post
    Where exactly? One way would be a field in a query:

    IIf(PostToHome, HomeAdd, OfficeAdd)

    I just applied word field of "IF" at mail merge.

  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
    So it's working?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    nt100 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Feb 2018
    Posts
    5
    Quote Originally Posted by pbaldy View Post
    So it's working?

    Yes.

    Thank you very much.

  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
    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. How to condition Making Fields Visible in a Report
    By Juan1313 in forum Programming
    Replies: 2
    Last Post: 06-30-2017, 05:13 AM
  2. Replies: 6
    Last Post: 07-30-2015, 05:36 PM
  3. Select query with condition date later or equl to
    By robs23 in forum Programming
    Replies: 8
    Last Post: 12-20-2014, 02:02 PM
  4. Replies: 7
    Last Post: 02-26-2013, 10:29 AM
  5. Update 2 fields based on where condition.
    By Confused in forum Access
    Replies: 2
    Last Post: 11-19-2009, 05:21 PM

Tags for this Thread

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