This is the code I used as a function
I got an error stating.
Compile Error:
Invalid use of Me keyword
What now??
Public Function FormProcess()
DoCmd.SetWarnings False
DoCmd.RunSQL " INSERT INTO LOG_REPORT ( [DATE], [USER], HOST ,TASK, DB )" & _
"SELECT now() AS [DATE], environ('username')...