<HTML>
<HEAD><TITLE>Authors as links</TITLE></HEAD>
<BODY BACKGROUND="/samples/images/backgrnd.gif">
<BODY BGCOLOR="FFFFFF">
<TABLE>
<TR>
<TD><IMG SRC="/samples/images/SPACE.gif" ALIGN="top" ALT=" "></TD>
<TD><A HREF="/samples/IMAGES/db_mh.map"><IMG SRC="/SAMPLES/images/db_mh.gif" ismap BORDER=0 ALIGN="top" ALT=" "></A></TD>
</TR>
<tr>
<TD></TD>
<TD>
<hr>
<font size=2>
<CENTER>
<H2>Authors with sales greater than <I><%idc.sales%></I></H2>
<TABLE BORDER>
<%begindetail%>
<%if CurrentRecord EQ 0 %>
<caption>Query results:</caption>
<TR><TH><B>Author</B></TH><TH><B>YTD Sales<BR>(in dollars)</B></TH></TR>
<%endif%>
<TR><TD><A HREF="/scripts/samples/sample3a.idc?lname=<%au_lname%>"><%au_lname%></A></TD><TD align="right">$<%ytd_sales%></TD></TR>
<%enddetail%>
</TABLE>
</CENTER>
<P>
<%if CurrentRecord EQ 0 %>
<I><B>Sorry, no authors had YTD sales greater than </I><%idc.sales%>.</B>
<%else%>
<P>
<HR>
Click on an author name to see the titles published by that author
<%endif%>
</font>
</td>
</tr>
</table>
</BODY>
</HTML>
