Email Link in Cell

I want to add an email link to a cell using a recordset.

I’m using ver 1.6

The link I want to insert is:

<a href=“Mailto:<%= rsRecords1.Fields(“AEmail”).Value %>?subject=Question from Customer?body=<%= rsRecords1.Fields(“AFName”).Value %>, %0A”><%= rsRecords1.Fields(“asm”).Value %>



I want to insert it in the asm cell



I load my data using XML using this code:

Response.write("")

Do while not rs.EOF

Response.write("")

Response.write("")

Response.write(rs(“asm”))

Response.write("")

Response.write("")

Response.write(rs(“tsm”))

Response.write("")

Response.write("")

rs.MoveNext

Loop

Response.write("")



Please advise,

Scott









You can insert any inline HTML tags directly in XML output , just wrap them in CDATA section

Response.write("")
Response.write("<![CDATA[ " & rsRecords1.Fields("asm").Value & "> ]]>")
Response.write("")