Birthday E-mails Mail Merge

For users or potential users.
Post Reply
User avatar
Hersheydmd
Posts: 700
Joined: Sun May 03, 2009 9:12 pm

Birthday E-mails Mail Merge

Post by Hersheydmd » Sun Mar 20, 2011 1:30 pm

I put together some slides showing how I send birthday e-mails from OD using MS Word and Outlook mail merge.
Hope someone finds it useful.

Click the link to open:
https://docs.google.com/viewer?a=v&pid= ... y=CK7fi_IN
Robert M Hersh DMD, FAGD
Univ. of Penn 1982
Brooklyn, NY 11234
https://www.facebook.com/pages/Robert-M ... 1471599429

User avatar
Hersheydmd
Posts: 700
Joined: Sun May 03, 2009 9:12 pm

Re: Birthday E-mails Mail Merge

Post by Hersheydmd » Tue Oct 18, 2011 4:33 pm

I modified the Birthday Query to include non-patient and inactive patients, in case I want to send a birthday wish to someone who is not yet or no longer a patient. The list is sorted by PatStatus as well as Birth Day, with all the active patients listed first.

/BIRTHDAY REPORT BY MONTH. CHANGE THE DATES./
SELECT LName,FName,Preferred,PatStatus,Email,Birthdate
FROM patient
WHERE SUBSTRING(Birthdate,6,5) >= '11-01'
AND SUBSTRING(Birthdate,6,5) <= '11-30'
AND PatStatus<3
ORDER BY PatStatus, SUBSTRING(Birthdate,6,5)
Robert M Hersh DMD, FAGD
Univ. of Penn 1982
Brooklyn, NY 11234
https://www.facebook.com/pages/Robert-M ... 1471599429

Post Reply