Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail merge

Status
Not open for further replies.

cluser

Technical User
Jun 19, 2005
38
US
We would like send letters to parents of students.

We have an excel sheet of all students information, including address.

How can I use mail merge to send mail for each family and including all their kids information in one letter?

I think may be group address, but don't know how to do it, any suggestions would be appriciated.
 


It can be done in Excel. Check this our for a general approch...

Mail Merge in Excel faq68-4223

Specifically, your database table needs to be structured like this...
[tt]
Parent Student
A Child1
A Child2
B Child1
C Child1
C Child2
C Child3
...
[/tt]
It could be as simple as a Subtotal on Parent. Of you could construct a sheet form, perform a parameter query on the table that returns the Student for the Parent to the form. Each time the cell containing the Parent changes, the query returns the Student(s) for that Parent. It could all be done in a simple loop.

Skip,

[glasses] [red]A palindrome gone wrong?[/red]
A man, a plan, a ROOT canal...
PULLEMALL![tongue]
 
Thank you very much, I found we had a word document built like that, so still want to use it as a template,

SO there is no way to do it in word?

Thanks

 
The only way that Word could work is to have Child1, Child2, Child3, Child4. fields. Works, until you have a parent with Childn + 1 children.

Skip,

[glasses] [red]A palindrome gone wrong?[/red]
A man, a plan, a ROOT canal...
PULLEMALL![tongue]
 
I'd suggest converting the database into simple Access database. Then you can have tables for parents and a separate table for children. Mailmerge to Word based on parents rather than children - the merge collecting all linked children to a parent.

It may be possible to do this with an Excel type database. Hopefully an Excel wiz can throw some light on this for you.

Regards: tf1
 


tf,

no need to cast it into Access. You can do exactly the same thing in Excel, query etc.

Skip,

[glasses] [red]A palindrome gone wrong?[/red]
A man, a plan, a ROOT canal...
PULLEMALL![tongue]
 
Ok I think that my question is along the same topic.
I am trying to merge mail from a SQL DB to this mailer document. I have one table with a top level listing. This would be the data that would need to define a different mailer, and then another table with the data for the mailer. My question is "what is the best way to convert the SQL data for the mailer?" IE a text doc or access db or some thing else.

Thanks
IBACFII


 


IBACFII,

Please post your question in a new thread.

Skip,

[glasses] [red]A palindrome gone wrong?[/red]
A man, a plan, a ROOT canal...
PULLEMALL![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top