Hi There,
I got an error on this code:
I placed this on a form:
Private Sub Form_Load()
globals.logging "form opened", Me.filter
End Sub
I got the error: 3075, syntax is missing (operator)
The error is in the me.filter/filterQ section because, whitout it works fine
can someone help me and explain what im doing wrong here?
I got an error on this code:
Code:
Public Sub logging(Activity As String, filterQ As String)
CurrentDb.Execute "INSERT INTO activiteitenlog (gebruikersnaam,activiteit,stringq,windowsGebruikersnaam,windowsComputernaam) Values('" & TempVars("gebruikersnaam").Value & "', '" & Activity & "', '" & filterQ & "', '" & Environ("username") & "','" & Environ("computername") & "')"
End Sub
I placed this on a form:
Private Sub Form_Load()
globals.logging "form opened", Me.filter
End Sub
I got the error: 3075, syntax is missing (operator)
The error is in the me.filter/filterQ section because, whitout it works fine
can someone help me and explain what im doing wrong here?
Last edited by a moderator: