Const cDQ As String = """"
Dim strSQL As String
Dim strActionType As String
strActionType = "E-mail button pressed"
strSQL = "INSERT INTO " _
& "tblEmailSend (Date, User, RecordID, SourceTable, ActionType) " _
& "VALUES (Now()," _
& cDQ & fUserName & cDQ & ", " _
& cDQ & Me.fldRecordID.Value & cDQ & ", " _
& cDQ & Me.RecordSource & cDQ & ", " _
& cDQ & strChangeType & cDQ & ")"
DoCmd.SetWarnings False
DoCmd.RunSQL strSQL
DoCmd.SetWarnings True