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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expected identifier 1

Status
Not open for further replies.

svsuthar1

Programmer
Jul 6, 2004
135
US
Hey guys,

I am not sure what it means with this type of error. The code is below.

Response.Write("<TD><A href="\..\ErrorImage\" & objRS("fldErrorImage") & ".pdf><B>View</B></A>
 
um not sure what the error is but that line will fail anyway. AS you are not closing off the response.write. Also if you are using response.write using " will close the statement causing error. see below

Code:
Response.Write("<TD><A href='\..\ErrorImage\" & objRS("fldErrorImage") & ".pdf'><B>View</B></A>")
 
Thanks alot nicklieb,

One more question how can i make this link pop on a new page instead on the same page.

Thanks,

Samir
 
just add in target="_blank"

as below

Code:
Response.Write("<TD><A href='\..\ErrorImage\" & objRS("fldErrorImage") & ".pdf' target='_blank'><B>View</B></A>")
 
Thanks nicklieb,

you saved my day today.. I really appreciate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top