Good day! I have a form to track owner/operators, based on tbl_Owner Operators. I have another table, tbl_Addresses, which houses the addresses for the owner/operators. tbl_addresses has it's own primary key, and there is a one-to-many link between each table. (tbl_Owner Operators (1) to tbl_Addresses (many)).
My problem is, when I want to add a new owner operator to my form, it lets me. Then, if I click on the button to open sub-form to add address, it lets me add the address, but when I try to save and close, I get an error stating "You cannot add or change a record because a related record is required in table "tbl_Owner Operators". It does this for new records, and if I try to add an address to an existing record. I created the separate table for the address, as my boss wants us to keep all addresses for each owner operator.
When I check the relationship, it's a one-to-many relationship. And the sub-form is linked via the same relationship to the main form.
Can anyone help? I seem to be stuck here.![]()