I'm now at the "can't see the forest for the trees" point with trying to figure out how to form relationships with these tables, and it's making my head hurt. Can anyone help me figure out how to join the following:
SQL Server 2000 backend, Access 2000 front end:
I have the following tables:
tblClaimants
tblClaims (details of the claimant's injury, case number, etc., since each claimant can have more than one claim)
tblProviders (doctors)
tblCenters (the offices doctors work from)
tblSchedule (doctor's schedule for a given day)
tblAppointments (claimant's appointments with doctors)
tblAppointmentTypes (subject of the appointment)
tblAttorneys (claimant's attorney)
Each claimant can have many appointments with different doctors. When the appointment is entered, it must fall within the doctor's schedule for that day (e.g., on March 5th the Dr. is working from 8:00am to 3:00pm, so the appointment has to be within those hours).
Each claimant will only have one attorney, but an attorney can represent many different claimants (so I can figure out the one-to-many join on those).
Not sure if I need a separate AppointmentDetails table with this, or if that info should just be stored within tblAppointments.
I appreciate any direction you folks can give me. Meanwhile, I'm going to take some Tylenol...
--------
Kyle
SQL Server 2000 backend, Access 2000 front end:
I have the following tables:
tblClaimants
tblClaims (details of the claimant's injury, case number, etc., since each claimant can have more than one claim)
tblProviders (doctors)
tblCenters (the offices doctors work from)
tblSchedule (doctor's schedule for a given day)
tblAppointments (claimant's appointments with doctors)
tblAppointmentTypes (subject of the appointment)
tblAttorneys (claimant's attorney)
Each claimant can have many appointments with different doctors. When the appointment is entered, it must fall within the doctor's schedule for that day (e.g., on March 5th the Dr. is working from 8:00am to 3:00pm, so the appointment has to be within those hours).
Each claimant will only have one attorney, but an attorney can represent many different claimants (so I can figure out the one-to-many join on those).
Not sure if I need a separate AppointmentDetails table with this, or if that info should just be stored within tblAppointments.
I appreciate any direction you folks can give me. Meanwhile, I'm going to take some Tylenol...
--------
Kyle