A
Andreas
I execute the following code that will append data into 2 related tables:
Private Sub Command129_Click()
DoCmd.OpenQuery "Quotation-to-Invoice Query", , acAdd
DoCmd.OpenQuery "Quotation-To-Invoice(Details)", , acAdd
End Sub
Is there a way to retrieve the success or fail status from the first command
so if it failed, I would stop the second command from executing?
Any other way that I could maintain consistency?
Private Sub Command129_Click()
DoCmd.OpenQuery "Quotation-to-Invoice Query", , acAdd
DoCmd.OpenQuery "Quotation-To-Invoice(Details)", , acAdd
End Sub
Is there a way to retrieve the success or fail status from the first command
so if it failed, I would stop the second command from executing?
Any other way that I could maintain consistency?