I am trying to get a query to do a mail merge with Word automatically by clicking a button on my switchboard, rather than having to do it manually through the "Merge with word" function on the menu bar.
I have a similar question as Scudy. Is there a way to open word mail merge document from an access form and populate the merge fields with data from the form? I am using Access 97 and I don't have a "merge with Word" menu item
I have a db form with a button on it that launches a word doc., prints a (mail merged) form letter base on the data in the active access form, prints the letter, closes word and returns control to access.
Build a make table query that pulls only one record based on the active form, FROM THE TABLES THAT ARE USED IN THE ACTIVE FORM, (use the build option in the criteria area for each field needed to filter the new table down to the active record in the form, and point them to the coressponding form field)
then add a button to the form
'----------------------------------------------------
'THIS CODE GOES IN THE ON CLICK EVENT FOR THE BUTTON ON THE FORM
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.