D
DBarker
Below is the code, I do not know if I have done this
properly or not. It is not working. Any help would be
appreciated.
Thanks,
Debbie
----------------------------------------------------------
Private Sub Form_BeforeUpdate(Cancel As Integer)
Dim Amount As Currency
Dim Total As Currency
Total_Amount = Total
Forms![Invoice_Detail_Subform]![TotalAmount] = Amount
If Total = Amount Then
DoCmd.FindNext
Else
MsgBox "Please check your amounts they do not equal the
amount of the total invoice"
End If
End Sub
properly or not. It is not working. Any help would be
appreciated.
Thanks,
Debbie
----------------------------------------------------------
Private Sub Form_BeforeUpdate(Cancel As Integer)
Dim Amount As Currency
Dim Total As Currency
Total_Amount = Total
Forms![Invoice_Detail_Subform]![TotalAmount] = Amount
If Total = Amount Then
DoCmd.FindNext
Else
MsgBox "Please check your amounts they do not equal the
amount of the total invoice"
End If
End Sub