1 | <% ` print the record set passed for the class member |
2 | Sub printRecord(ByVal attrib, ByVal list) |
3 | cnt = 0 |
4 | if(Not list.Eof) then |
5 | %> |
6 | <center><table width="100%" border="0"> |
7 | <tr BGCOLOR="<% = trbgcol %>"> |
8 | <td align="left" valign="middle" nowrap width="100%"> |
9 | <font size="2" face="Arial" color="<% = thfgcol %>"> |
10 | <b><% = attrib %> </b></font> |
11 | </td></tr> </table> |
12 | <table width="80%" border="0"> |
13 | <% |
14 | Do While Not list.EOF |
15 | cnt = cnt + 1 |
16 | if( (cnt Mod 2) > 0) then ` print it in two rows |
17 | %> |
18 | <tr> |
19 | <% end if %> |