Results 1 to 2 of 2
  1. #1
    drnld is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    28

    Creating a Report from multiple tables with multiple dates

    Hi - I need help figuring out how to create a report using a query & a table at the same time or if that's even the way I need to go about it.



    I am using the Student Database template installed on the computer as my base template and adding tables/queries for our specific needs. I added a mentor report table by copying the student attendance table so it would function the same.

    These are the fields I set up in the Mentor Report Table:

    ID (not primary key - was causing errors)
    Student (look up in student table)
    Report Date (set to default to today's date)
    Progressing (yes/no)
    Academic (yes/no) *yes = having problems
    Shop (yes/no) *same as above
    MComments (memo)
    Verbal (date)
    Written (date)

    I also have another table "Student Attendance" that was part of the original database which I edited some existing fields. This works perfectly right now. The fields are:
    ID (primary key)
    Student (number-lookup from Students Extended query)
    Hours (number)
    Status (created look-up for "Present", Absent", "Termed", "LOA")
    Comments
    Late (yes/no)
    Early (yes/no)
    Reqhrs (number - defaults to 4)

    Lastly, the Student Table includes a look up field called [cycle] that looks up what cycle they are in which includes a start, end, internship and graduation date for that specific cycle.

    What I need to be able to provide is a dated weekly report that totals the amount of hours each student has attended and missed for their specific date range to date and that gives me all the fields from the mentor report table. Since their are multiple cycles happening at the same time, the number of actual hours attended and missed for each student would vary depending on their start date.

    I have tried all sorts of multiple queries and can't get the records to display what I need. I don't write code and so I'm wondering if someone can help. Is this even possible with the way things are set up?

    I have a deadline to provide this by Thursday this week. Is this possible?

    Any help or suggestions would be appreciated.

    Dottie

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Yes you can query: tables & querys, or querys & querys, etc.

    You would bring all tables needed (they should link on their common keys: Student to Student, etc.)
    If you were only working on the current Cycle, then a query of STUDENT with a date range may be better...qsStudentsCurrent

    I'd say, bring out Attendance and qsStudentsCurrent then sum the [hrs] field from attend.

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

Similar Threads

  1. Replies: 15
    Last Post: 12-06-2013, 01:41 PM
  2. Replies: 1
    Last Post: 10-21-2013, 09:42 AM
  3. Replies: 1
    Last Post: 04-12-2013, 03:03 PM
  4. Creating relationship for multiple tables
    By dave john in forum Programming
    Replies: 1
    Last Post: 09-02-2012, 08:18 AM
  5. creating forms using multiple tables
    By mfoster3 in forum Access
    Replies: 0
    Last Post: 03-09-2011, 06:57 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