D
David
I have a form that adds a row to a table with an
autonumber key. On this form is a button to go to another
form. This second form adds data to another table with an
autonumber key. The record added by the second form is
related to the record added by the first form via the
first form record's autonumber key.
Problem 1: How do I get the autonumber key for the second
form when the record to be added by the first form has not
been added yet.
Problem 2: What do I do if the second form adds a record,
then the user cancels out and does not add the record from
the first form?
How should I handle this? There is no room on the form for
all of the data, thats why I split it into 2 forms.
autonumber key. On this form is a button to go to another
form. This second form adds data to another table with an
autonumber key. The record added by the second form is
related to the record added by the first form via the
first form record's autonumber key.
Problem 1: How do I get the autonumber key for the second
form when the record to be added by the first form has not
been added yet.
Problem 2: What do I do if the second form adds a record,
then the user cancels out and does not add the record from
the first form?
How should I handle this? There is no room on the form for
all of the data, thats why I split it into 2 forms.