G
Guest
I have a database set up that has a parent table and child table. I created
a form/subform based on this relationship, and we are having a problem with
it. When the "parent" information is entered, everything is fine, but when
the user moves to the subform, we get the following error message: "An error
occured while referencing the object. You tried to run a Visual Basic
procedure that improperly reference a property or method of an object." This
error message comes up when the user actually clicks on the first field of
the subform to enter data. After that, however, the user is able to input
data and nothing further happens until trying to move back to the parent set
to add another record. At that point, the user is told that the record on
the child set cannot be saved because there is no corresponding record in the
parent field.
We can open the parent table directly and expand the subdatasheet, and enter
information there without problem. So, what have I done with the forms to
cause a problem? Should I start over on the form design? If so, what should
I be sure to pay attention to???
a form/subform based on this relationship, and we are having a problem with
it. When the "parent" information is entered, everything is fine, but when
the user moves to the subform, we get the following error message: "An error
occured while referencing the object. You tried to run a Visual Basic
procedure that improperly reference a property or method of an object." This
error message comes up when the user actually clicks on the first field of
the subform to enter data. After that, however, the user is able to input
data and nothing further happens until trying to move back to the parent set
to add another record. At that point, the user is told that the record on
the child set cannot be saved because there is no corresponding record in the
parent field.
We can open the parent table directly and expand the subdatasheet, and enter
information there without problem. So, what have I done with the forms to
cause a problem? Should I start over on the form design? If so, what should
I be sure to pay attention to???