I have, amongst other tables, Contractors with details such as name, address, etc. Jobs, a list of different types of jobs and a third called Contractors and Job Types, linking each contractor's name and the type of jobs they do.
In a form for Contactors I have a sub-form with a list of the types of jobs they do, drawn from Contractor and Jobs. If I try to add a type of job to the subform, when I close the form, I get an error "You cannot add or change a record because a related record is required in table 'Contractors'"
What I want to be able to do is add a job type to the subform and have an entry appear in the Contractors and Job Types table linking the new job type to the contractor on the form.
Can anyone help please?
In a form for Contactors I have a sub-form with a list of the types of jobs they do, drawn from Contractor and Jobs. If I try to add a type of job to the subform, when I close the form, I get an error "You cannot add or change a record because a related record is required in table 'Contractors'"
What I want to be able to do is add a job type to the subform and have an entry appear in the Contractors and Job Types table linking the new job type to the contractor on the form.
Can anyone help please?