http://www.techrepublic.com/article/a-s ... cess-data/
Calling the routine as follows:
Code: Select all
Private Sub Form_BeforeUpdate(Cancel As Integer)
Select Case ctl.ControlType
Case 100, 101, 104, 106, 109, 110, 111, 123, 124
Call AuditTrail(Me, SalesOrderID)
End Select
End Sub
I can't see where it is going wrong.
Help is appreciated.
Cheers