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

response.redirect to an dynamic page

Status
Not open for further replies.

faver

MIS
Apr 5, 2007
11
0
0
US
hello,
I am trying to do a response.redirect to dynamic page

I have tried this
Code:
Response.redirect("<href=""parts.asp?id=")Response.Write (rspart("id"))Response.Write (""">" & rspart("id"))

what I want to accomplish is that the redirect will take me to
Code:
parts?id=2
or whatever else number

this is the error I get
Code:
Expected end of statement
/kl/update/partsupdate_entry00.asp, line 114, column 42
Response.redirect("<href=""parts.asp?id=")Response.Write (rspart("id"))Response.Write (""">" & rspart("id"))
-----------------------------------------^
 
Code:
Response.redirect("parts.asp?id=" & rspart("id") )
 
ahhh but ofcourse!!!!


Thank you rac2!!!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top