Link to home
Create AccountLog in
Avatar of ab2ae
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 & ""
ASKER CERTIFIED SOLUTION
Avatar of hongjun
hongjun
Flag of Singapore image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
You have 2 SET which is incorrect.
Avatar of ab2ae
ab2ae

ASKER

hongjun, genius :o)

Thanks

What is the Erorr Msg ???