Can anyone help please?
I am trying to use the following:
tempID="<a "http://record_edit.asp?ID=" tempID=tempID & rstemp("UniqueID") & ""tempID=tempID & "</a>"
To build this statement below using response.write where rstemp is a record source:
<a href="http://record_edit.asp?ID=7"></a>
But I am gettting confused with all the quotes.
Thanks,Joe C.
tempID="<a href='http://record_edit.asp?ID=" tempID=tempID & rstemp("UniqueID") & "'>"tempID=tempID & rstemp("UniqueID") & "</a>"
That should ultimately come out to:
<a href='http://record_edit.asp?ID=7'>7</a>
Of course maybe you'd rather use something other than the UniqueID to display as the link ... like maybe rstemp("ProductName") or the like.
Are we having fun yet?
[This message has been edited by ginnie (edited 09-26-2001).]
Besides that, it may be better to do it like this:
tempID = "<a href=http://record_edit.asp?ID=" &rstemp("UniqueID") &">YOUR LINK</a>"
Then you could print tempID anywhere on your page.
Joe
Whoops! ginnie you got me typing!
[This message has been edited by jbennett (edited 09-26-2001).]
It probably pays to type slower . . . then we wouldn't have to go back and edit our messages.
ginnie
It is clear now where I was going wrong and I like your way so much better.