G
Guest
Have a main form used for both data entry and viewing details of an existing
record. When a new entry is started, I automatically populate some of the
fields on that form. In the footer of that form is a continuous subform that
shows the records already entered.
Problem: If the user clicks on the subform, the partially complete record
on the main form is added to the table. If they later "cancel" the new
entry, the partially complete record still appears in the table. (Undo
doesn't work.)
I tried using the form's BeforeUpdate to cancel the save unless the "Save"
button was clicked, but that prevents the user from entering the subform, so
they can't use the scroll bar to see the records further down.
Does anyone have a neat solution that will prevent adding the new record but
still allow access to the subform?
Thanks,
Bruce
record. When a new entry is started, I automatically populate some of the
fields on that form. In the footer of that form is a continuous subform that
shows the records already entered.
Problem: If the user clicks on the subform, the partially complete record
on the main form is added to the table. If they later "cancel" the new
entry, the partially complete record still appears in the table. (Undo
doesn't work.)
I tried using the form's BeforeUpdate to cancel the save unless the "Save"
button was clicked, but that prevents the user from entering the subform, so
they can't use the scroll bar to see the records further down.
Does anyone have a neat solution that will prevent adding the new record but
still allow access to the subform?
Thanks,
Bruce