J
Jody
Hi
I have a challenge involving 2 tables - 'tblcompetitions' and 'tblEnrollment'. tblcompetitions has 3 fields in question - CompetitionID, Date and Session. tblEnrollment has 2 fields in question - CompetitionID and EntrantID. The tables are related - 1 competition can have many enrollments. A session can be 1 of 3 values - morning, afternoon, evening
An entrant cannot be scheduled for more than 1 competition on the same date and session
I envision entrant selection being a subform with the main form showing the tblcompetition fields. Under the hood, in tblEnrollment, When an EntrantID data element is about to be entered, I need to check to make sure the entrantID is not already associated with a competitionID on the same date and in the same session
Any suggestions
Thanks
Jody
I have a challenge involving 2 tables - 'tblcompetitions' and 'tblEnrollment'. tblcompetitions has 3 fields in question - CompetitionID, Date and Session. tblEnrollment has 2 fields in question - CompetitionID and EntrantID. The tables are related - 1 competition can have many enrollments. A session can be 1 of 3 values - morning, afternoon, evening
An entrant cannot be scheduled for more than 1 competition on the same date and session
I envision entrant selection being a subform with the main form showing the tblcompetition fields. Under the hood, in tblEnrollment, When an EntrantID data element is about to be entered, I need to check to make sure the entrantID is not already associated with a competitionID on the same date and in the same session
Any suggestions
Thanks
Jody