Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

This is an Error here...but I can't find it

Status
Not open for further replies.

mlocurci

MIS
Oct 17, 2001
210
US
There is an error here. But i am missing it. Any ideas by you smart guys?

mysql="UPDATE tbleTimeOffrequests SET "
mysql=mysql & "HRstatus='" & Request.Form("hrStatus") &"',"
mysql=mysql & " Where ID=" & Request.Form("id")
 
take the comma out -
("hrStatus") &"', "
make so -
("hrStatus") &"' "

Saturday 12.00
im6.gif
im2.gif
im2.gif
20.00
im5.gif
im4.gif
im7.gif
3.00am
im8.gif
Sunday [img http
 
With every sql statement you should Response.Write mysql below your statement, if there is an error, you will easily be able to pin-point it. You will then be able to catch almost ever SQL related error.

- Jason www.vzio.com
ASP WEB DEVELOPMENT



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top