Roland
Thu May 20 15:26:18 CDT 2004
"Tony" wrote in message
news:50FF80CC-9DA0-462C-A233-B998E752B657@microsoft.com...
: Why won't this display as a link when going from an access table (field
defined as html) on an asp page?
:
: <TD><%Response.Write rsPeople("EMailAddr")%><a
href="mailto:<%=rsPeople("EMailAddr")%>"></a></TD></TR>
It's usually easier to do it this way and eliminates the ASP processor
having to switch between ASP/HTML code.
<%
dim email
sub prt(str)
Response.Write(str & vbCrLf)
end sub
email = rsPeople("EMailAddr")
prt("<td><a href=""mailto:" & email & """>" & email & "</a></td></tr>")
' additional code...
%>
HTH...
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center -
http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library -
http://msdn.microsoft.com/library/default.asp