- School - contains a list of schools
- Staff - record staff at particular schools (school id is a foreign key)
- Distribution - record when materials are distributed to a certain teacher (staff id and resource id are foreign keys)
- Resource - contains a list of materials that can be distributed to a staff member
I have a form which is used for entering details of a school. It contains a subform that lists all the teachers at that school.
I want to create another separate subform in the school form that will record the distributions to each staff member. However, how do I constrain the list of staff to those that are recorded as being at the currently selected school?
I hope this makes sense. If not, I shall attempt to further clarify.