Results 1 to 3 of 3
  1. #1
    Perfac's Avatar
    Perfac is offline Expert
    Windows 7 64bit Access 2016
    Join Date
    May 2016
    Location
    Centurion Pretoria
    Posts
    618

    Merging fields


    Our accounting package will be used by customers from where we host it. We try to protect the BACK END or don’t want customers to see the design of the fornt end. When I use Mail merge for standard documents and open such a Word document, I click on a command button(See the attachment for the VBA that opens hat word document . I click on Mail Merge in word and then have to click on MAIL RECIPIENTS and have to see the back end to choose the source. "Edit Recipient List" is not available before the source is selected. Can I set that?

    Is there a way to set the source so that there is no need to see our BACK END. Or is there another way I can merge fields to a word document for standard letters?
    Click image for larger version. 

Name:	Form1.png 
Views:	18 
Size:	196.7 KB 
ID:	34306Click image for larger version. 

Name:	Merge1.png 
Views:	18 
Size:	107.0 KB 
ID:	34307Click image for larger version. 

Name:	VBAMerge1.png 
Views:	18 
Size:	144.0 KB 
ID:	34308

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    Try Albert Kallal's 'super easy mail merge' which is exactly what it says.
    Its many years old now but is still in use by large numbers of people
    Available from many places including: http://hitechcoach.com/downloads-mai...asy-word-merge

    All the mail merge code is done within Access which makes life ... super easy
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    Gicu's Avatar
    Gicu is offline VIP
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    I use a similar approach, I use a query to get the data I want to use for the merge, export it to a csv file using docmd.transfertext then use that as the mail merge source. That way the Word mail-merge template doesn't interact with Access at all.

    Cheers,
    Vlad

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

Similar Threads

  1. Replies: 2
    Last Post: 02-29-2016, 03:00 PM
  2. Replies: 4
    Last Post: 11-27-2015, 03:28 PM
  3. merging fields
    By Jen0dorf in forum Access
    Replies: 9
    Last Post: 08-23-2015, 01:47 PM
  4. Merging fields in a table
    By Bx Snipe in forum Access
    Replies: 1
    Last Post: 09-24-2012, 01:45 PM
  5. merging two fields
    By brandon in forum Access
    Replies: 5
    Last Post: 06-09-2010, 08:17 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