Can't enter records through subform

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a form (parent table) that also displays a subform (child
table). The child table is void of records at the moment but the parent
table has records. First I find a record in the parent table through the
form and then attempt to put a record in through the sub form but I get the
following error message, "You cannot add or change a record because a related
record is required in the parent table." Not sure if I need to put code in
or what.
 
Lorraine said:
I have created a form (parent table) that also displays a subform (child
table). The child table is void of records at the moment but the parent
table has records. First I find a record in the parent table through the
form and then attempt to put a record in through the sub form but I get the
following error message, "You cannot add or change a record because a related
record is required in the parent table." Not sure if I need to put code in
or what.


It sounds like you do not have the subform control's Link
Master/Child Fields properties set to the linking field.
 
Back
Top