Results 1 to 2 of 2
  1. #1
    avarusbrightfyre is offline Advanced Beginner
    Windows Vista Access 2003
    Join Date
    Sep 2009
    Posts
    60

    Maintenance reminders using email (complex question)

    I have a database that tracks maintenance history as well as suggested repairs for items stored in the database. I already have an email merge set up to invoice customers for their regularly scheduled payment based on a query. What I need now is a way to have the database sift through the records, select records that have suggested repairs attached to them and send one email to each client with a tabular list in the body of the email displaying the suggested repair table entries pertaining to that client.

    The configuration for all this is a main form with just the customer information attached to it, then a subform that records the maintenance history for that customer and a second subform that records "suggested repairs", all connected through the "ID" field on each form. I'm looking for a command button that will send these email reminders in one click, if possible.



    Is there a way to set up a mass email this way? Having to sit down and write one email for each client listing his "suggested repairs" would be very time consuming. So far I've only seen merging fields for one record on from one table. I imagine this would require drawing information from several tables, and I've never seen a way to do an auto-generated list within a merge. Is any of this feasible?

  2. #2
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    You would set up a sub routine to loop through each customer and then pull the applicable information for the email. Similar to what you do for your invoice email I should think. Multiple tables is no problem because you could combine tables in a query...or open multiple recordsets in your code.

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

Similar Threads

  1. Complex Form Question - 2 Tables, Different Fields
    By nichojo in forum Programming
    Replies: 6
    Last Post: 08-03-2010, 07:12 AM
  2. Complex VBA Autonumber question
    By Lockrin in forum Access
    Replies: 2
    Last Post: 04-13-2010, 01:25 PM
  3. Replies: 5
    Last Post: 01-22-2010, 08:21 AM
  4. Another email report question ...
    By valkyry in forum Reports
    Replies: 0
    Last Post: 05-23-2007, 11:42 PM
  5. Creating a Maintenance Scheduler
    By squirrel in forum Forms
    Replies: 0
    Last Post: 02-15-2006, 03:45 AM

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