|
-
May 29th, 2001, 11:31 AM
#1
Update SQL statement - HELP!!
Hi
Can someone point out what the syntax error is in the following SQL statement
SQL1 = "Update USER_DTLS Set (User_Name, Full_Name, User_Pwd, User_Description)=('" & Uname & "','" & Fname & "','" & Pwd & "','" & Udescrpt & "') where User_Name ='" & Uname & "'"
When it come's to the cmd execution it saya there's a syntax error
Thanks for your help
Viji
-
May 29th, 2001, 12:11 PM
#2
Re: Update SQL statement - HELP!!
Try:
SQL1 = "Update USER_DTLS set User_Name = '" & uname & _
"', Full_Name = '" & fname & _
"', User_Pwd = '" & pwd & _
"', User_Description = '" & Udescrpt & _
"' where User_Name ='" & Uname & "'"
HTH,
Duncan
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
-
May 30th, 2001, 05:54 AM
#3
Re: Update SQL statement - HELP!!
Hi Viji (at BJA ??)
If you have not got the answer to this yet. I can see the problem.
Martin
Thanks
Martin Clark
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|