I have placed the below code in the form's after update event. It works but unfortunately it triggers the print again if the navigation button ( move next or move previous) are used to view that record. Where should I be placing this code so that it will only print the record initially when it is entered.
Private Sub Form_AfterUpdate()
If Me.txtNoErrors > 0 Then
Call PrintError
End If
Thanks
L
Private Sub Form_AfterUpdate()
If Me.txtNoErrors > 0 Then
Call PrintError
End If
Thanks
L