Ladybird,
Thanks for the further information.
If you have two tables as you described, with a PK/FK relationship, it
is normally the table on the 'one' side of the relationship that the
main form is bound to, and the table on the 'many' side of the
relationship is represented in a subform. It is then the setting of the
Link Master fields and Link Child Fields properties of the subform that
allows the automatic entry of the main form's PK value to the subform's
FK control.
It is also possible to have a form based on a querry that includes more
than one table. As long as the query is an updateable query, you can
use this form to enter data, but it quickly gets tricky. In this
scenario, unless the main table's PK is an autonumber, you do need to
have the main table's PK and the second table's FK both represented on
the form... maye this is what you are referring to. And then, to create
a new main table record, you enter the number in the main table's PK,
and to create a new record in the second table, you enter the value of
the main table's PK value for the related record into the control for
the second table's FK. I have never done this myself, but I know it is
possible.
I am not sure whether these comments relate to your question. If not,
maybe you could post back with more explicit details about the form, the
controls on it, and the table(s) involved, so we can talk specifics.