janice
08-04-2003, 10:41 PM
This question is probably very simple but I am trying to create a hyperlink with the ProcessID.
Please take a look at the way I have objRS(ProcessID") coded currently:
<td> <a href="process.asp?ID=<%= objRS("ProcessID") %>"><%= objRS("ProcessID") %></a> </td>.
This way, whenever I click on the ProcessID link, it opens up a page containing information about a particular process number.
However, due to the way the below code is coded, I am having problem accomplishing the same.
For instance, there are many fields within <td></td> and I have to add the link to one of the fields called objrs("ProcessID")
Response.Write "<tr><td colspan=12><font color=CC00CC > Process Number: " & objRS("ProcessID") & " </font><font color=blue> | </font><font color=CC00CC >Status: </font><font color='red' style='normal' weight='bold' size='+1' family='verdana'>" & (strFinal) & "</font><br> " & _
"Date of Process: " & objRS("dateofProcess") & " <br> " & _
"Time Reported " & objRS("timeofProcess") & " <br> " & _
"Operator Involved: " & objRS("Operator") & " <br> " & _
"CallBack Number: " & objRS("callbackNumber") & " <br> " & _
"Date and time Process was logged: " & objRS("Processlog") & " </font></td></tr>"
Can someone please help me add this code:
<a href="process.asp?ID=<%= objRS("ProcessID") %>"><%= objRS("ProcessID") %>
in objRS("ProcessID") inside above code?
Please take a look at the way I have objRS(ProcessID") coded currently:
<td> <a href="process.asp?ID=<%= objRS("ProcessID") %>"><%= objRS("ProcessID") %></a> </td>.
This way, whenever I click on the ProcessID link, it opens up a page containing information about a particular process number.
However, due to the way the below code is coded, I am having problem accomplishing the same.
For instance, there are many fields within <td></td> and I have to add the link to one of the fields called objrs("ProcessID")
Response.Write "<tr><td colspan=12><font color=CC00CC > Process Number: " & objRS("ProcessID") & " </font><font color=blue> | </font><font color=CC00CC >Status: </font><font color='red' style='normal' weight='bold' size='+1' family='verdana'>" & (strFinal) & "</font><br> " & _
"Date of Process: " & objRS("dateofProcess") & " <br> " & _
"Time Reported " & objRS("timeofProcess") & " <br> " & _
"Operator Involved: " & objRS("Operator") & " <br> " & _
"CallBack Number: " & objRS("callbackNumber") & " <br> " & _
"Date and time Process was logged: " & objRS("Processlog") & " </font></td></tr>"
Can someone please help me add this code:
<a href="process.asp?ID=<%= objRS("ProcessID") %>"><%= objRS("ProcessID") %>
in objRS("ProcessID") inside above code?