This topic is locked

hyperlinks,,,but not really

8/10/2004 12:01:07 PM
ASPRunnerPro General questions
Sarjent author

is it possible to change the value of of a field so that when you see it in the list view it is a hyperlink to something?
Say I am listing a bunch of computers. I would naaturally have a field named for the the COMPUTERNAME or something to that effect. Sometimes there might be a managment tool that uses your web browser to connect to that PC.. like

http://sms1-1/sms_svc/report.asp?txtValue=COMPUTERNAME&txtSQL=0&txtReportID=7300]

. I am thinking that it would be cool to link directly to that computer from withing the ASPRunner pages. So I was wondering if the VIEW field or the returned display for the COMPUTERNAME itself could be modified in such a way.
I looked at this code here:

http://www.asprunner.com/forums/index.php?...40&hl=hyperlink
It looked a little confusing for me.
update..so I edited query_list.asp and found the section for the VIEW code.

I put in the following code

<a target=_new href="http://sms1-1/sms_svc/report.asp?txtValue="& GetData(rsData.Fields("COMPUTERNAME"),

"")&txtSQL=0&txtReportID=7300" >View</a>


The page loads but the link stops at the

http://sms1-1/sms_svc/report.asp?txtValue=

so its nbot picking up the COMPTUERNAME at all

Sarjent author 8/10/2004

got it! followed the instructions more closely and it works well.