Noname > 29-10-10, 10:45 AM
Sub InputAuditTrail(CurrentModule As String, CurrentAction As String)
Dim rsAudit As Recordset
Set rsAudit = CurrentDb.OpenRecordset("tblAuditTrail", dbOpenTable)
rsAudit.AddNew
rsAudit("Times") = Now()
rsAudit("UserID") = CurrentUserID
rsAudit("Username") = CurrentUserName
rsAudit("ComputerName") = Environ("ComputerName")
rsAudit("module") = CurrentModule
rsAudit("Action") = CurrentAction
rsAudit.Update
rsAudit.Close
End Sub
InputAuditTrail "Nhập Hóa Đơn","OpenForm"
uronmapu > 12-06-12, 11:07 AM
Noname > 12-06-12, 11:34 AM
thdanh > 16-10-14, 11:22 AM
m.vuong2211 > 10-04-15, 02:08 PM