Simon Weaver
2003-10-01 14:20:46 UTC
Hi
I have been onto this all morning with partial success. I
have tested the conditional logic by
writing "available" / "not available" into the appropriate
cells. That's working fine.
But when I attempt to write my image and anchor I get the
following error message
***********************************************************
***
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Unterminated string constant
/test/6050.asp, line 164, column 93
Response.write("<td valign=""top""><a href=""6060.asp?
id_row=<%=FP_FieldURL(fp_rs,""id_row"")
***********************************************************
***
My code is as follows...
<td>
<%DIM slot1 : slot1 = FP_Field(fp_rs,"1")
If Left(slot1,1)="<" then%>
<%=FP_Field(fp_rs,"1")%>
<%else%>
<%Response.write("<td valign=""top""><a href=""6060.asp?
id_row=<%=FP_FieldURL(fp_rs,""id_row"")%>&per=<%=""2""%
alt=""Slot 2""></a>")%>
<%end if%>
</td>
The error is undoubtly in the Response.Write syntax,
probably the way I am incorporating the QueryString.
I need to get all the string identifiers into place - can
anyone see the obvious ??
TIA, Simon
I have been onto this all morning with partial success. I
have tested the conditional logic by
writing "available" / "not available" into the appropriate
cells. That's working fine.
But when I attempt to write my image and anchor I get the
following error message
***********************************************************
***
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Unterminated string constant
/test/6050.asp, line 164, column 93
Response.write("<td valign=""top""><a href=""6060.asp?
id_row=<%=FP_FieldURL(fp_rs,""id_row"")
***********************************************************
***
My code is as follows...
<td>
<%DIM slot1 : slot1 = FP_Field(fp_rs,"1")
If Left(slot1,1)="<" then%>
<%=FP_Field(fp_rs,"1")%>
<%else%>
<%Response.write("<td valign=""top""><a href=""6060.asp?
id_row=<%=FP_FieldURL(fp_rs,""id_row"")%>&per=<%=""2""%
&iDate=<%=Request(""iDate"")%>""><img border=""0""
src=""images/clip.jpg"" hspace=""5"" align=""middle""alt=""Slot 2""></a>")%>
<%end if%>
</td>
The error is undoubtly in the Response.Write syntax,
probably the way I am incorporating the QueryString.
I need to get all the string identifiers into place - can
anyone see the obvious ??
TIA, Simon