Results 1 to 2 of 2
  1. #1
    trb5016 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Dec 2009
    Location
    Pennsylvania
    Posts
    71

    Updatable Query from three tables and later a form

    I have three tables:

    Code:
    People
    ID_Person (PK, AN)
    num_Student Number
    txt_Last Name
    txt_First Name
    Code:
    Grad_Students_Faculty
    ID_Grad Council (PK, AN)ID_Person
    txt_Faculty Name
    txt_Relationship
    Code:
    Grad_Students_Funding
    ID_Grad Fund (PK, AN)
    ID_Person
    txt_Academic Semester
    num_Academic Year
    txt_Fund Name
    I need a query (which will be used as a continuous form later that is updatable that will show:


    Student Number; Last name; First Name; Advisor (see below); Semester; Year; and Fund Name

    Advisor will display the Faculty Name from the Grad_Student_Faculty Table where the txt_Relationship="Advisor" (Each student can only have one advisor but many faculty members with other titles - hence that setup.

    There is only one record per student per Semester/Year for the Grad Students Funding table. So if I filter this query for "Fall" and "2008" each student would only show up once (and only need to show up once because the tables with the one-many relationships will only have one matching record.

    I've done this in the past with an older layout where the Advisor was its own field under Grad_students funding and used code to populate the ID_Person and the semester and year for the Grad Students Funding table so I then filtered it and it worked fine.

    Now that there's three queries I can't figure out how to use even a cheap workaround like that one.

    I know this is long and a shot in the dark but any advice would be appreciated.

    P.S. This is an Access Front End with the Tables being linked to a SQL server

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    make the query "Advisors" using the table Grad_Students_Faculty the criteria of course is "Advisors" so this query results is only those records where the faculty is the advisor.

    then make a query using the People Table, Advisors Query, and Grad Students Funding table- joining at the common ID_person field...

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

Similar Threads

  1. Replies: 21
    Last Post: 01-31-2010, 08:51 AM
  2. The Recordset is not updatable
    By bullet_proof302 in forum Access
    Replies: 2
    Last Post: 11-07-2009, 12:13 PM
  3. Update Multiple tables from one form
    By KenK in forum Forms
    Replies: 0
    Last Post: 10-30-2009, 08:44 PM
  4. Creating Form from Normalized Tables
    By heathers in forum Forms
    Replies: 2
    Last Post: 09-10-2009, 03:43 AM
  5. Replies: 9
    Last Post: 03-24-2009, 09:19 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