I want to have a field in a tabel wich holds mailto-links, much like the way you can make a field holding hyperlinks (http://). How do I do that?
field for mailto links in access
Collapse
X
-
hi,
it depends on if you want all the information to be stored in the database or not. for example, for a hyperlink you might just want to store "www.domainname .com" and keep the <a href="http://<%=rs("hyperlin k")%>"> etcetera-part in your code. One reason could be that you want to assign different css-classes to different links.
with this approcah you would just store "info@domainnam e.com" in your table.
the other approach is to store the entire link, i.e. <a href="mailto:in fo@domainname.c om">info@domain name.com</a> in your table.
/jesper
Comment