R
Richard
I am using Windows XP and Access 2000.
My apologies for the length.
This database is used to deliver training.
I have 5 tables 'TrainingWaiting', 'TrainingSchedule', 'TrainingDuration',
'TrainingCourses', and 'TrainingTrainers'.
The field 'Course' in the table 'TrainingWaiting' holds the unique value of
the ID field in the table 'TrainingSchedule'. There is a one-to-many
relationship between the ID field in 'TrainingSchedule' and the field
'Course' in the table 'TrainingWaiting'.
I use this to enable combo boxes in forms and reports to auto-fill text
boxes with the other columns in the 'TrainingSchedule' table. For example one
form has a combo box, the control source is 'Course' and there is a SELECT
that queries the 'TrainingSchedule' table. This allows me to use
=TRACourse1.Column(5) for example to auto-fill a text box with the trainers
name form the 'TrainingSchedule' table.
The problem I have now is as follows.
The 'TrainingDuration' table has 4 fields, ID, Duration, StartTime, and
EndTime. The 'ID' field is linked to the 'Duration' field in the
'TrainingSchedule' table. Which works fine if you go into the actual Schedule
table.
What I want to be able to do is have the fields 'StartTime' and 'EndTime'
auto-fill in the various forms. The problem is the StartTime and EndTime
aren't actually in the Schedule table, they're in the Duration table.
I hope this makes sense. If not, I will try to explain further.
Thank you in advance for any help.
Richard
My apologies for the length.
This database is used to deliver training.
I have 5 tables 'TrainingWaiting', 'TrainingSchedule', 'TrainingDuration',
'TrainingCourses', and 'TrainingTrainers'.
The field 'Course' in the table 'TrainingWaiting' holds the unique value of
the ID field in the table 'TrainingSchedule'. There is a one-to-many
relationship between the ID field in 'TrainingSchedule' and the field
'Course' in the table 'TrainingWaiting'.
I use this to enable combo boxes in forms and reports to auto-fill text
boxes with the other columns in the 'TrainingSchedule' table. For example one
form has a combo box, the control source is 'Course' and there is a SELECT
that queries the 'TrainingSchedule' table. This allows me to use
=TRACourse1.Column(5) for example to auto-fill a text box with the trainers
name form the 'TrainingSchedule' table.
The problem I have now is as follows.
The 'TrainingDuration' table has 4 fields, ID, Duration, StartTime, and
EndTime. The 'ID' field is linked to the 'Duration' field in the
'TrainingSchedule' table. Which works fine if you go into the actual Schedule
table.
What I want to be able to do is have the fields 'StartTime' and 'EndTime'
auto-fill in the various forms. The problem is the StartTime and EndTime
aren't actually in the Schedule table, they're in the Duration table.
I hope this makes sense. If not, I will try to explain further.
Thank you in advance for any help.
Richard