Results 1 to 5 of 5
  1. #1
    ThorstenG is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2015
    Posts
    8

    New Record - send email HELP! :(

    Good afternoon everyone I need some help please.



    In my database I need to send an email to approve the new record - however I have various departments which need to approve this so at the moment it looks like the table below:

    So what am after is, once the new record info is entered in the form (which I have). So Dep 1 needs to approve the record and so does Dep 2.. and so on (there are 10 departments).

    However am not sure how to link the email addresses to the column and I only want to send each department the details about the record (or records) and their 3 questions whicha er Date Approved / Comments and Initals.

    Do I need seperate tables? if so how do I link them? or how would you set it up?

    Would really appreciate any help I can get.. thanks guys.
    Record info 1 Record info 2 Record info 3 Department 1 Date Approved Dep 1 Comments Dep 1 Approval Initial Dep 2 Date Approved Dep 2 Comments Dep 2 Date Approved

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    I would layout 3 tables.

    table: tMainRec (your main recs to approve)
    RecID
    etc...

    table: tEmails (the emails for all depts)
    Dept: dept1
    Email: myemail@co.com

    table: tApprovals (approval for the Main Record)
    AprID
    RecID
    Dept
    DateApprov
    Comment
    Initials


    Master table tMainRec, links to child table tApproval
    Emails to all depts would come from the tEmail table AND populate the tApproval table with Dept names but have null dates

    Each dept need approve in tApproval table. When all dates are filled, it is approved.

  3. #3
    ThorstenG is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2015
    Posts
    8
    Brilliant thanks Ranman.. I will try this.. may I come back with more questions if it doesnt work?

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    Yep. I'll be here.

  5. #5
    ThorstenG is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2015
    Posts
    8
    Quote Originally Posted by ranman256 View Post
    Yep. I'll be here.
    HI Ranman,

    thanks again for your comments yesterday - I now have it set up as seen in the attached.

    Would you do this the same way?
    Click image for larger version. 

Name:	Capture.PNG 
Views:	6 
Size:	31.0 KB 
ID:	20343

    tmainRec ID links to APRID in tapprovals.
    Tapprovals approvedby links to temails Intitals..

    When I look at the record when i tried a sample, it gives me approvedby and approvedwhen plus comments, but it doesnt say which dept... which I thought should come through this... would you know how to add this?


    Many thanks.

    T

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

Similar Threads

  1. Send email using CDO, get email addresses from table
    By marvinac1 in forum Programming
    Replies: 3
    Last Post: 12-22-2014, 12:54 PM
  2. Replies: 1
    Last Post: 09-07-2014, 10:15 PM
  3. Replies: 5
    Last Post: 05-07-2014, 09:25 AM
  4. Replies: 4
    Last Post: 04-13-2011, 10:11 AM
  5. send email to email addresses in database?
    By cnstarz in forum Access
    Replies: 5
    Last Post: 03-02-2011, 09:46 PM

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