%
function MonthlyList(strMonth,strYear,strBorderSize,strTableWidth,strMonthBGColor,strRowBGColor,strCols,strRows)
'strTempDay = Day(strTempDate)
'strTempMonth = Month(strTempDate)
'strTempYear = Year(strTempDate)
strMonthName = MonthName(strMonth) 'set month name variable
'Response.Write tempmonthname
if strMonth = 12 then
strTempMonth = 0
strTempYear = strYear + 1
else
strTempMonth = strMonth
strTempYear = strYear
end if
%><%
SQLstr = "SELECT * FROM Archives WHERE Date >= #" & strMonth & "/1/" & strYear & "# AND Date < #" & (strTempMonth + 1) & "/1/" & strTempYear & "# ORDER BY IssueNo"
'Response.Write SQLstr & "
"
objRS.Open SQLstr,objConn,1
if not objRS.EOF then
arrMonthlyIssues = objRS.GetRows() 'create array of issues for specified month and year
%>
| 1 then%>colspan="<%=strCols%>"<%end if%> align="center" bgcolor="<%=strMonthBGColor%>"><%=strMonthName%> | |
| Volume <%=arrMonthlyIssues(1,i)%>: Issue <%=arrMonthlyIssues(2,i)%> | <% if i = ubound(arrMonthlyIssues,2) and strcolcount < strcols then 'check to see if on last loop for j = (strColCount + 1) to strCols 'if so, write out remaining columns in row then exit %><% next end if next %> |