R
Rick
If a user fails to enter information in a field in a
subform what code would one use in the AfterUpdate of the
subform to set the focus back to the main form and delete
that record automatically; forcing the user to start over?
i.e.
Main form is Invoice
Sub form is InvoiceDetails
Field on InvoiceDetails is Amount
User fills out Invoice header info in the main form.
AfterUpdate of the main form sets the focus on the
subform.
User asked to enter a dollar amount and presses "Escape"
User sent back to Main form and the invoice header
information record is automatically deleted without
warning forcing the user to start over.
subform what code would one use in the AfterUpdate of the
subform to set the focus back to the main form and delete
that record automatically; forcing the user to start over?
i.e.
Main form is Invoice
Sub form is InvoiceDetails
Field on InvoiceDetails is Amount
User fills out Invoice header info in the main form.
AfterUpdate of the main form sets the focus on the
subform.
User asked to enter a dollar amount and presses "Escape"
User sent back to Main form and the invoice header
information record is automatically deleted without
warning forcing the user to start over.