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

Passing info from one ASP to another ASP doc 1

Status
Not open for further replies.

ASmee

IS-IT--Management
Jul 9, 2002
46
US
I have the line:

response.write &quot;<TD><a href=History.asp?Details=&quot; & objRS(Wcount) & &quot;>History</a></TD>&quot;

Where objRS(wCount) has the value of &quot;ABS CMO Ratings&quot;. When I hover the mouse pointer the link Details=ABS .

The rest of the string is truncated, any ideas why?
 
You forgot to enclose the href value with Quotes.
Code:
response.write &quot;<TD><a href='History.asp?Details=&quot; & objRS(Wcount) & &quot;'>History</a></TD>&quot;

________
George, M
 
Perfect, too frustrated to see the wood for the trees!
 
You might also need to use server.urlencode(objRS(&quot;WCount&quot;))
That will format data to work in a url. Some browsers might be able to deal with the spaces in the url, but its best to format it to something like ABS+CMO+Ratings (which server.urlencode will do).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top