Displaying controls on the web/Dynamic file names

W

walshp

I am displaying a simple web table with data from my Access database. I would
like the last column to contain a hyperlink to a pdf file of a report from
the Access database. I know how to create the hyperlink in a control on a
form or report (it is comprised of three fields and some misc characters) but
I can not figure out how to display that control on the web page.
Alternately, can I create a field that is an expression?

Snap shot of web page code:

<TD><%=Server.HTMLEncode(rs.Fields("meeting_type").Value)%><BR></TD>
<TD><%=Server.HTMLEncode(rs.Fields("meeting_subject").Value)%><BR></TD>
<TD><%=Server.HTMLEncode(rs.Fields("meeting_date").Value)%><BR></TD>

Thanks.
 
R

Ron Hinds

What you want for hyperlinks is to use an anchor (<A>) tag. So it would look
something like this:

<TD><A href="<%=Server.HTMLEncode(rs.Fields("meeting_date").Value)%>">Click
here for Report</A><BR></TD>

But change the code between the <% %> tags to be whatever it takes to
construct your hyperlink path.
 
Top