G
Guest
I have a form which maintains my main table. On this form is a button that
opens a new form where related records in another table are entered (I know
it could be a subform but for various reasons that could not be done).
My problem is that when creating a new record on the main form and then
going to enter the related records, I have to have the autonumber key for the
main record. This means I have to save the new record before going to the
other screen (this in itself creates problems because I perform various
validations on save) . A problem also occurs when the user presses Escape to
undo his main table change (I would then have to go and delete the related
records I previously added).
Is there a recommended way to handle this (other than using a subform)?
Thanks.
opens a new form where related records in another table are entered (I know
it could be a subform but for various reasons that could not be done).
My problem is that when creating a new record on the main form and then
going to enter the related records, I have to have the autonumber key for the
main record. This means I have to save the new record before going to the
other screen (this in itself creates problems because I perform various
validations on save) . A problem also occurs when the user presses Escape to
undo his main table change (I would then have to go and delete the related
records I previously added).
Is there a recommended way to handle this (other than using a subform)?
Thanks.