Hi guys,
Thank you both for your answers.
I finally created a query that was based on two tables, plus another query:
SQL:
SELECT FamilyInfo.FamilyName, StudentInfo.StudentFirstName,
[StudentCourseInfo Sub-Query].CourseName, [StudentCourseInfo
Sub-Query].DiscontinuedDate, [StudentCourseInfo Sub-Query].VacationStartDate,
[StudentCourseInfo Sub-Query].VacationEndDate
FROM [StudentCourseInfo Sub-Query], FamilyInfo INNER JOIN StudentInfo ON
FamilyInfo.FamilyID = StudentInfo.FamilyID;
This seemed to work.
Regarding the question of why I have the last name in another table from the
Student Info, it's because I'm creating a database for a tutoring school
where a family may have many children attending lessons.
So, I have a Family Info table that contains basics, such as family ID,
name, address, etc. that I link to the Student Info table.
I now have another question, if you don't mind. Most courses are a standard
monthly rate, say $50.00. This means that each family will make a payment of
$50.00 x the number of children they send. However, some families will pay a
special flat rate - instead of $100, for example, they will pay $80 per
month. I'm not sure how to achieve this in the most effective manner.
Thanks again!

Signature
Thanks!
Dee
> If the courses table is a listing of courses available to all students, then
> each student can take many courses and each course can be taken by many
[quoted text clipped - 61 lines]
> >
> > Thanks!!
BruceM - 06 May 2005 15:15 GMT
I can't really help you with the money thing, and would not have jumped into
the thread in the first place had that been the question. I will add a
thought about Last Name coming from a different table than First Name.
Having a Family table makes sense, and I can understand that perfectly, but
does every child have the same last name as is used for the family name? You
would be better to have a separate Last Name field in the student table.
> Hi guys,
>
[quoted text clipped - 92 lines]
> > >
> > > Thanks!!
Jeff Boyce - 06 May 2005 16:39 GMT
Dee
You will not get as many "eyes" on your question if you keep it way down
this thread. I'd recommend re-posting, asking this new question in a new
thread, to get maximum exposure.
Jeff Boyce
<Access MVP>
> Hi guys,
>
[quoted text clipped - 112 lines]
>> >
>> > Thanks!!