473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Using Access as a Mail Merge form

tdw
206 100+
Hi all,

I am trying to create an Access database for use purely as a more efficient way to enter fields into a Mail Merge for a friend who is an attorney.

Currently, I am using Word's mail merge, but the problem with that is that it is time consuming and inefficient because there is no way to set it up to recognize commonly used entries and autofill the field.

The first paragraph of the form letters look something like this (the parts that are filled in using a mail merge field are in bold:

"It has come to my attention that you were recently arrested on the charges of Driving Under the Influence, Third or Subsequent Offense, Refusal to Take Breath or Blood Test, and No Operator's License. The charge of Driving Under the Influence, Third or Subsequent Offense carries a penalty of [yada yada yada...several sentences which we currently cut and paste from another document], Refusal to Take Breath or Blood Test carries [yada yada...], No Operator's License carries [yada yada...]."

Because the form letters need to use correct grammar, and some letters will have more charges listed than others, after merging, we currently have to go through each letter, editing the location of commas, and the word "and" before the final charge.

I have created a form in Access that allows up to 6 charges to be entered, including a field for each charge for entering the number of counts of the charge, i.e. "Two Counts of Driving Under the Influence". I have a table of common charges and their penalties.
What I am struggling to figure out now, is the best way to use the Access fields to create the form letters.
I have considered using an Access Report, but don't know how to allow the first paragraph to be longer or shorter depending on the length of it's content (the letter has to look right, no gaps, overlaps etc.) I also have considered exporting the data to Word and mail merging it from there, but don't know how to automate where it puts commas, the word "and", what to do if there are only two charges, leaving the fields for charges 3 thru 6 blank, etc.

Has anyone done something like this? Any ideas?
Apr 2 '08 #1
3 2805
PianoMan64
374 Expert 256MB
Hi all,

I am trying to create an Access database for use purely as a more efficient way to enter fields into a Mail Merge for a friend who is an attorney.

Currently, I am using Word's mail merge, but the problem with that is that it is time consuming and inefficient because there is no way to set it up to recognize commonly used entries and autofill the field.

The first paragraph of the form letters look something like this (the parts that are filled in using a mail merge field are in bold:

"It has come to my attention that you were recently arrested on the charges of Driving Under the Influence, Third or Subsequent Offense, Refusal to Take Breath or Blood Test, and No Operator's License. The charge of Driving Under the Influence, Third or Subsequent Offense carries a penalty of [yada yada yada...several sentences which we currently cut and paste from another document], Refusal to Take Breath or Blood Test carries [yada yada...], No Operator's License carries [yada yada...]."

Because the form letters need to use correct grammar, and some letters will have more charges listed than others, after merging, we currently have to go through each letter, editing the location of commas, and the word "and" before the final charge.

I have created a form in Access that allows up to 6 charges to be entered, including a field for each charge for entering the number of counts of the charge, i.e. "Two Counts of Driving Under the Influence". I have a table of common charges and their penalties.
What I am struggling to figure out now, is the best way to use the Access fields to create the form letters.
I have considered using an Access Report, but don't know how to allow the first paragraph to be longer or shorter depending on the length of it's content (the letter has to look right, no gaps, overlaps etc.) I also have considered exporting the data to Word and mail merging it from there, but don't know how to automate where it puts commas, the word "and", what to do if there are only two charges, leaving the fields for charges 3 thru 6 blank, etc.

Has anyone done something like this? Any ideas?
Well, it could be easily solved in MS Word. You do have the option of putting in Conditional statements in your word document. If you look on the mail merge menu, you'll find that their is a Insert options and under that a option to put in a IF-THEN-ELSE Option.

Hope that helps,

Joe P.
Apr 7 '08 #2
I think you have the answer here, check this out.

http://msaccesstips.com/2007/10/ms-a...-merge-3.shtml
Apr 14 '08 #3
tdw
206 100+
I think you have the answer here, check this out.

http://msaccesstips.com/2007/10/ms-a...-merge-3.shtml
Thank you, I will read thru this and see it if helps.
Apr 14 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jay Best | last post by:
Hi there The story is as follows: I write up some pretty detailed reports on people, and what I am wanting to do is speed up the process as a proportion of the reports that I am writing are...
3
by: Andy Davis | last post by:
I have set up a mail merge document in Word 2003 which gets its data from my Access 2000 database. I want to set up a button on a form that: 1. runs the query to provide the dat for the merge...
0
by: mbbostwick | last post by:
I have a problem with a mail merge procedure I used to use with Access '97. We recently converted to Office XP (2002) and I now have an issue I am unfamilliar with and have been unable to...
1
by: ashkash | last post by:
I have an access database which takes information from a user and then uses the mail merge functionality to merge the data into a word document. I have a lot of subforms in the access database which...
5
by: Simon | last post by:
on my database i have a customers Table (tblCustomers) on the form of it (frmCustomers) i would like a button what will open up word and open up my comapny letter head template and then merger...
6
by: Simon | last post by:
on my frmCustomer form i would like a button that open up words and runs a mail merger only with the data on on that form ( as on the mail merger i just want the customer address for when i write a...
8
by: Ron B | last post by:
Help!!! What am I doing wrong? I am working with Office 2003 and am trying to create a command button on an Access form that will create a mail merge in Word from an Access table. I want to...
1
by: mr k | last post by:
Hi, I wanted to use mail merge with forms but Text form fields are not retained during mail merge in Word, I got the code from Microsoft but it doesn't remember the text form field options such as...
1
by: kirkus84 | last post by:
I am currently trying to do a multiple record mail merge through a query via a command button on a form. The query basically displays customers who have said yes to privacy. The user inputs a date...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.