J
Jacob JKW
I have two tables: Institutions and Banks. Banks are a type of
Institution and the primary key of Institutions shows up a foreign key
in Banks.
I want to create an AddBank form which allows the user to enter data
specific to Institution record. When the record is saved the form
should first create a new entry in the Institutions table, save the
Institution specific data, and then use the primary key to create a new
entry in the Banks table.
The way I have done this would be by including a Banks subform on the
main AddBank form. This certainly works, but it's pretty poor design in
that the Banks subform is superfluous. The user doesn't need to enter
any data on that subform (except for an AutoNumber), all the relevant
data is just created from info entered in to the main form.
So any ideas on how to do that without creating the physical subform?
Thanks,
Jacob
Institution and the primary key of Institutions shows up a foreign key
in Banks.
I want to create an AddBank form which allows the user to enter data
specific to Institution record. When the record is saved the form
should first create a new entry in the Institutions table, save the
Institution specific data, and then use the primary key to create a new
entry in the Banks table.
The way I have done this would be by including a Banks subform on the
main AddBank form. This certainly works, but it's pretty poor design in
that the Banks subform is superfluous. The user doesn't need to enter
any data on that subform (except for an AutoNumber), all the relevant
data is just created from info entered in to the main form.
So any ideas on how to do that without creating the physical subform?
Thanks,
Jacob