Results 1 to 4 of 4
  1. #1
    Palladian is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    6

    Report drawing from multiple tables

    Hi,

    I haven't worked with Access much, and for work I need to create a report that draws from the following tables:
    -Scholarship (includes fields: scholarshipID, scholarshipName, description)
    -Student (fields: studentID, name)
    -Donor (fields: donorID, name, scholarshipID)
    -StudentToScholarship (fields: ID, studentID, scholarshipID)



    Since Student and Scholarship is a many-to-many relationship, I created the StudentToScholarship table to keep track of the relationships. But I can't figure out how to make that work with a report.

    The report is supposed to list each scholarship and the students and donors affiliated with it. I know more or less how to set this up in MySQL, but how do I do it in Access?

    Thanks so much!

  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,902
    Assume Scholarships and Donors also many-to-many relationship.

    I think you will need to use subreport design.
    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
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    One donor can have many Scholarships One to many

    If One donor can have many Scholarships AND one Scholarship can have many donors, then you should also have a junction table for donors - Scholarships.

    I changed your structure to:
    -Donor (fields: donorID, name)
    -Scholarship (includes fields: scholarshipID, donorID, scholarshipName, description)

    Attachment 9403



    See attached mdb...
    My $0.02

  4. #4
    Palladian is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    6
    Thanks.

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

Similar Threads

  1. Drawing on form in code
    By taxidev in forum Access
    Replies: 1
    Last Post: 11-10-2011, 11:48 AM
  2. Queries with multiple tables to create report
    By Solstice in forum Queries
    Replies: 1
    Last Post: 09-22-2011, 02:23 PM
  3. add drawing
    By chiefmsb in forum Database Design
    Replies: 7
    Last Post: 11-12-2010, 08:16 AM
  4. Multiple tables/one record report
    By Smooth Operator in forum Reports
    Replies: 3
    Last Post: 06-24-2010, 09:43 AM
  5. Report based on multiple tables
    By Pimped in forum Reports
    Replies: 1
    Last Post: 12-16-2009, 04:14 AM

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