Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Conditional image in a drw
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 20th April 23:26
simon weaver
External User
 
Posts: 1
Default Conditional image in a drw



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" %

src="images/clip.jpg"></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
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666