V
vandy
Hi all,
I have a login form were a sysadmin can enter new values into the table.
I need the values entered into the table through the form.
i have 3 txtfeilds on my form
txtuserid - accepts username - text
txtpwd - accepts userpwd - text
txtlevel - accepts level - numeric
I have an insert query which inserts these values into the authorized table
strQuery = "INSERT INTO Authorized (UserId, Pwd, Level) " & " VALUES ('"
& Me.txtuserid & "', '" & Me.txtpwd & "', '" & Me.txtlevel & ");"
I am getting a syntax error on my insert statement
what is wrong here
I have a login form were a sysadmin can enter new values into the table.
I need the values entered into the table through the form.
i have 3 txtfeilds on my form
txtuserid - accepts username - text
txtpwd - accepts userpwd - text
txtlevel - accepts level - numeric
I have an insert query which inserts these values into the authorized table
strQuery = "INSERT INTO Authorized (UserId, Pwd, Level) " & " VALUES ('"
& Me.txtuserid & "', '" & Me.txtpwd & "', '" & Me.txtlevel & ");"
I am getting a syntax error on my insert statement
what is wrong here