Results 1 to 3 of 3
  1. #1
    nancyma is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    4

    Email message with multiple records in the body of the message

    I want to use an Access table to send emails where I have multiple records for a single email and I want only one message with the multiple records in the body. I'm not good at VBA but I have someone in the office I can work with if necessary, and I'm very comfortable with Word mail merge to emails. Just can't figure out how to get a single email with multiple records in the body.

    My table currently looks like this:



    Employee Email Customer Incentive Category Amount
    A emp.A@coname.net Customer A Application $50
    B emp.B@coname.net Customer B Application $50
    B emp.B@coname.net Customer B Funded Loan $125
    B emp.B@coname.net Customer C Application $50









    And I want an email to each employee that shows:

    Dear Employee A:
    You earned Incentives last month for:
    Customer A Application $50
    Total $50




    -----------------------------------------------------------------------------------
    Dear Employee B:
    You earned Incentives last month for:
    Customer B Application $50
    Customer B Loan Funded $125
    Customer C Application $50
    Total $225






    Thanks for your help! I'm currently manually creating about 40 emails every month -- what a time waster!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    The Word merge would require code that populates a table in the Word document. I know I've worked with another poster on this. Unfortunately, probably never find the thread.

    An email from Access would build a single, long string by looping through recordset and concatenating data or by using HTML code tags to build an HTML table.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    an alternative is to create an Access Report. the embedded feature of Access 2010 allows one to right click on that report when its open on your screen - and then select Email - and it will launch your email software to include the report as PDF file. It is a nice feature.

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

Similar Threads

  1. Automated Email Truncating Message Body
    By sirhacksalot in forum Access
    Replies: 2
    Last Post: 12-03-2013, 01:21 PM
  2. Replies: 15
    Last Post: 11-01-2013, 03:24 PM
  3. Replies: 9
    Last Post: 09-26-2012, 12:20 PM
  4. Add a hyperlink to email message
    By Marianna_Air in forum Forms
    Replies: 2
    Last Post: 08-22-2012, 06:57 AM
  5. Import Outlook email message
    By crowegreg in forum Import/Export Data
    Replies: 5
    Last Post: 09-27-2011, 11:10 PM

Tags for this Thread

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