Results 1 to 2 of 2
  1. #1
    adams.bria is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2010
    Posts
    22

    E-mail Selective Report

    So I have done things like this, but never this exact scenario and cannot figure out how to design it.

    I have a report that is displaying a department, and a list of students who meet X criteria in that department. What I want to do is this:

    E-mail the report to the department where students are meeting X criteria. But not the entire report, just the list of students that actually belong to that department.

    Right now I have my query built to select the data I need based on the criteria, and I have the report based on the query. But for some reason I cannot wrap my head around where to go from here. Any help?

    Just an FYI here is what my selection query looks like



    Code:
    SELECT DISTINCT Current_Work_Study_Earn.Balance, Stu_Info.Stu_Last, Stu_Info.Stu_First, Stu_Info.Stu_Middle, Stu_Term.Aid_Year, Stu_Assn.Reassign, Dept.Dept_Desc, Dept.Sub_Dept, Stu_Assn.Stuassn_ID, Contacts.Cont_First, Contacts.Cont_Last, Contacts.Cont_Email, Stu_Info.Camp_ID, Stu_Info.Hr_ID, Stu_Info.Stu_Email
    FROM (((((Stu_Term INNER JOIN (Current_Work_Study_Earn INNER JOIN Stu_Info ON Current_Work_Study_Earn.[Person ID] = Stu_Info.Hr_ID) ON Stu_Term.Empl_ID = Stu_Info.Empl_ID) INNER JOIN Stu_Assn ON Stu_Term.Stuterm_ID = Stu_Assn.Stuterm_ID) INNER JOIN Local_Vars ON Stu_Term.Aid_Year = Local_Vars.Aid_Year) INNER JOIN Dept_Cont ON (Stu_Assn.DC_ID = Dept_Cont.DC_ID) AND (Local_Vars.Aid_Year = Dept_Cont.Aid_Year)) INNER JOIN Dept ON Dept_Cont.Dept_ID = Dept.Dept_ID) INNER JOIN Contacts ON Dept_Cont.Cont_ID = Contacts.Cont_ID
    WHERE (((Current_Work_Study_Earn.Balance)<500) AND ((Stu_Term.Aid_Year)=[Local_Vars].[Aid_Year]) AND ((Stu_Assn.Reassign)=False));

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    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.

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

Similar Threads

  1. Send e-mail with info from Report
    By mari_hitz in forum Import/Export Data
    Replies: 22
    Last Post: 12-17-2011, 06:24 PM
  2. Setting up a mail merge or report letter
    By AndrewsPanda in forum Access
    Replies: 8
    Last Post: 09-29-2011, 05:59 PM
  3. Combo box-Selective addition
    By reidn in forum Forms
    Replies: 1
    Last Post: 07-20-2011, 11:44 AM
  4. Selective Mean(s) question ...
    By efleming in forum Access
    Replies: 3
    Last Post: 05-25-2011, 02:06 PM
  5. Replies: 9
    Last Post: 09-25-2010, 10:14 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