perrydaniel
Technical User
Hi, would appreciate some help on this one, as it is driving me crazy...
I have 2 tables. One called Owner, the other property. They are related 1 to Many. i.e one owner can have many properties. I have a FK in the property table (OwnerID), now for the problem.
I can add a new owner and a new property via TABLES, by opening the Owner Table and putting their details in and then clicking + to open the linked Property table and adding the new details.
However when i try this in Forms, which I have Owner as my main form and Property as a sub form i get the error message 'Cannot add record as a related because a related record is required in table Owner'
Even though I have added the owner first and that OwnerID is generated! Please help, losing hair by the minute..
Perry
I have 2 tables. One called Owner, the other property. They are related 1 to Many. i.e one owner can have many properties. I have a FK in the property table (OwnerID), now for the problem.
I can add a new owner and a new property via TABLES, by opening the Owner Table and putting their details in and then clicking + to open the linked Property table and adding the new details.
However when i try this in Forms, which I have Owner as my main form and Property as a sub form i get the error message 'Cannot add record as a related because a related record is required in table Owner'
Even though I have added the owner first and that OwnerID is generated! Please help, losing hair by the minute..
Perry