|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Unterminated string constant in UPDATE statement
hi everyone -
this problem will probably be pretty easy for someone to figure out but i have no idea what this error is referring to. I thought it was a missing quotation set but I'm not sure where it should go strsql="UPDATE software_signout SET signin_date='<%=date()%>',received_by='" & request("received_by") & "' where id=" & request("id") & "" any help would be great thanks in advance |
|
#2
|
|||
|
|||
|
you are inside a script why do you have <%=date()%>?
Code:
strsql="UPDATE software_signout " & _
"SET signin_date = '" & Date & "', " & _
"received_by = '" & request("received_by") & "' " & _
"where id = " & request("id")
__________________
Programmer's Corner |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Unterminated string constant in UPDATE statement |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|