tblEmployees is the one side of a one-to-many relationship with tblEmpWorkers, and also with tblWorkRecords.
tblEmpWorkers has a subform on the main form whose data source is tblEmployers.
All three tables have enforced referential integrity etc.
The form and the subform work together as we'd expect it to, but the form for tblWorkRecords doesn't.
For instance, if the id for a record is 25 and I make the foreign key field for the works record form 25, it will appear for every other record too. So although they are related in the relationship, the two tables are not acting that way. And I don't know why. What am I doing wrong, please?
tblEmpWorkers has a subform on the main form whose data source is tblEmployers.
All three tables have enforced referential integrity etc.
The form and the subform work together as we'd expect it to, but the form for tblWorkRecords doesn't.
For instance, if the id for a record is 25 and I make the foreign key field for the works record form 25, it will appear for every other record too. So although they are related in the relationship, the two tables are not acting that way. And I don't know why. What am I doing wrong, please?