Click to See Complete Forum and Search --> : Sorry to bother you guys again


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>&nbsp; <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: &nbsp;" & objRS("ProcessID") & " </font><font color=blue>&nbsp;|&nbsp;</font><font color=CC00CC >Status: &nbsp;</font><font color='red' style='normal' weight='bold' size='+1' family='verdana'>" & (strFinal) & "</font><br> " & _
"Date of Process: &nbsp;" & objRS("dateofProcess") & " <br> " & _
"Time Reported &nbsp;" & objRS("timeofProcess") & " <br> " & _
"Operator Involved: &nbsp;" & objRS("Operator") & " <br> " & _
"CallBack Number: &nbsp;" & objRS("callbackNumber") & " <br> " & _
"Date and time Process was logged: &nbsp;" & 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?

Bullschmidt
08-04-2003, 11:58 PM
Perhaps try something like this:

Response.Write "<a href=" & Chr(34) & "process.asp?ID=" & objRS("ProcessID") & Chr(34) & ">" & objRS("ProcessID") & "</a>"

janice
08-05-2003, 06:01 PM
sorry good helpers!
I had to go out of town suddenly and just got back.
Dave, I wasn't having any errors. I was just wanted to add a l ink to processId to allow me to do an edit but is solved now.
Thanks to you and Bullschmidt.
You guys have been great in this forum.