ab2ae
asked on
Using update and where (SQL)
I am trying to update two fields within my Access database, what is wrong with this syntax??!!
strSQL = "UPDATE [Student] Set [Username] = '" & uName & "', Set [Pwd] = '" & pwd & "' WHERE StudentIDNo = " & SID & ""
strSQL = "UPDATE [Student] Set [Username] = '" & uName & "', Set [Pwd] = '" & pwd & "' WHERE StudentIDNo = " & SID & ""
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
You have 2 SET which is incorrect.
ASKER
hongjun, genius :o)
Thanks
Thanks
What is the Erorr Msg ???