I'm trying to create a form that allows you to register users. I've looked up tutorials and none of them seem to work. This is the code I am stuck with currently:
CurrentDb.Execute "INSERT INTO tblUser(User ID, Fullname, Username, Password, Security) " _ & VALUES & " (" & Me.ID & ",'" & Me.Fullname & "','" & Me.Uname & "','" & _ Me.uPass & "','" & Me.Pri & "')" When I run the code I get:
Runtime error '3134': Syntax error in INSERT INTO statement.
VALUEthere should be a string ("VALUE"), not unless it is a variable containing the string"VALUE".