G
Guest
Hi John,
Thanks for all of your help from the Advice from a Newbie message I posted
on the 10th.
I followed your instructions, but now am at the point where I need to create
the relationships. I understand the concept of one to one, one to many,
etc., but the primary key and non-primary key connection.
If you would be so kind, I would like to run the tables and their
relationships by you for your input.
FamilyInfo Table:
FamilyID
FamilyName
ParentName
Address1
Address2
City
Province
PostalCode
HomeNumber
WorkNumber
EMailAddress
Students Table:
StudentID
LastName
FirstName
CourseInfo Table:
CourseID
CourseName
MonthlyRate
SpecialRate
CourseDetailsPerStudent Table:
StudentID
CourseID
RegistrationDate
RegistrationFee
TuitionFee
DiscontinuedDate
VacationDate
DepositInfo Table:
DepositID
DepositNumber
DepositDate
PaymentInfo Table:
PaymentID
FamilyID
Mode
Date
Amount
Payment Allocation Table:
PaymentID
DepositID
CourseID
StudentID
Amount
The deposit is a bank deposit with the next bank deposit number, which is
related to all the cheques or cash deposited that week.
Relationships:
FamilyID in FamilyInfo table is one to many to Students table LastName
FamilyID in FamilyInfo table is one to many to FamilyID field in PaymentInfo
table
StudentID is one to one relationship with CourseDetailsPerStudent table, but
I think this should probably be one to many because one student may take
multiple courses, just not the same course, obviously at the same time
PaymentInfo table PaymentID field one to many to PaymentID in Payment
Allocation table
DepositID from DepositInformation is one to many to DepositID in
PaymentAllocation
StudentID from Students table is one to many to PaymentAllocation StudentID
CourseInfo table CourseID is one to many to both CourseID in
CourseDetailsPerStudent and also PaymentAllocation
Does this make any sense? I established the links in the relationships
window, dragging the primary key to the non-primary keys for the one to many.
Now, the questions are:
Are my relationships logical?
Now that they are established, do I create forms that allow viewing and
input of the data, then base queries and reports on the forms?
I feel like I'm getting close - queries and reports I'm OK at - it's the
basic setting up that really challenges me.
I would greatly appreciate your help - I was hoping to get this up and
running with a Switchboard by Jan 1.
THANKS so much!
Thanks for all of your help from the Advice from a Newbie message I posted
on the 10th.
I followed your instructions, but now am at the point where I need to create
the relationships. I understand the concept of one to one, one to many,
etc., but the primary key and non-primary key connection.
If you would be so kind, I would like to run the tables and their
relationships by you for your input.
FamilyInfo Table:
FamilyID
FamilyName
ParentName
Address1
Address2
City
Province
PostalCode
HomeNumber
WorkNumber
EMailAddress
Students Table:
StudentID
LastName
FirstName
CourseInfo Table:
CourseID
CourseName
MonthlyRate
SpecialRate
CourseDetailsPerStudent Table:
StudentID
CourseID
RegistrationDate
RegistrationFee
TuitionFee
DiscontinuedDate
VacationDate
DepositInfo Table:
DepositID
DepositNumber
DepositDate
PaymentInfo Table:
PaymentID
FamilyID
Mode
Date
Amount
Payment Allocation Table:
PaymentID
DepositID
CourseID
StudentID
Amount
The deposit is a bank deposit with the next bank deposit number, which is
related to all the cheques or cash deposited that week.
Relationships:
FamilyID in FamilyInfo table is one to many to Students table LastName
FamilyID in FamilyInfo table is one to many to FamilyID field in PaymentInfo
table
StudentID is one to one relationship with CourseDetailsPerStudent table, but
I think this should probably be one to many because one student may take
multiple courses, just not the same course, obviously at the same time
PaymentInfo table PaymentID field one to many to PaymentID in Payment
Allocation table
DepositID from DepositInformation is one to many to DepositID in
PaymentAllocation
StudentID from Students table is one to many to PaymentAllocation StudentID
CourseInfo table CourseID is one to many to both CourseID in
CourseDetailsPerStudent and also PaymentAllocation
Does this make any sense? I established the links in the relationships
window, dragging the primary key to the non-primary keys for the one to many.
Now, the questions are:
Are my relationships logical?
Now that they are established, do I create forms that allow viewing and
input of the data, then base queries and reports on the forms?
I feel like I'm getting close - queries and reports I'm OK at - it's the
basic setting up that really challenges me.
I would greatly appreciate your help - I was hoping to get this up and
running with a Switchboard by Jan 1.
THANKS so much!