This topic is locked

Multiple Variables In Hyperlink

3/30/2007 1:44:13 PM
ASPRunnerPro General questions
A
aontech author

I have a list of servers, and I want to set a hyperlink on the HostName I have done that with
"strValue="<a href=""UploadFolder/"&strValue&".pdf"">"&strValue&"</a>"".
Now, I need to be able to populate "UploadFolder" with results from a query, since these files will be in different paths.
How do I insert that script into the one above, or create a script that will do this?
I also notice that when I select View, I see this as the Title - "View record [ Host_Name: <a href="UploadFolder/Servername.pdf">Servername</a> , Machine_Domain: DomainName ]"
How do I get that to read just the Host_Name, instead of the script?

A
aontech author 4/2/2007

I was able to insert a script that does what I need.
When I export the data, I get the result of the script ("<a target=_blank href="http://servername/region/location/servername.pdf">servername</a>";) instead of the Host_Name.
How do I get it to export the value of the field instead of the result of the script?