I have been trying to display a break between date groupings without luck (using ASP Classic). I have tried many suggestions found in FAQ's or by searching Google..but nothing that works. It must be something that I am doing wrong...can someone help?
Code:
body = "<HTML[b]<STYLE TYPE=""text/css"">P.breakhere {page-break-after: always}</STYLE>[/b]<style type=""text/css""><!-- TD{font-size : 10px;font-family : verdana,
helvetica, arial, sans-serif; color : #333333; margin-left : 2em;}--></style><BODY BGCOLOR=#ffffff><TABLE BORDER=1 BORDERCOLOR=#AAAAAA CELLPADDING=0
CELLSPACING=0>"
body = body + "<TR><TD ALIGN=""CENTER"" BGCOLOR=""#99CC99"" COLSPAN=11><B>TITLE</TD></TR>"
body = body + "<TR><TD ALIGN=""CENTER"" BGCOLOR=""#99CC99""><B>COLUMN1</TD><TD ALIGN=""CENTER"" BGCOLOR=""#99CC99""><B>COLUMN2</TD><TD
ALIGN=""CENTER"" BGCOLOR=""#99CC99""><B>COLUMN3</TD><TD ALIGN=""CENTER"" BGCOLOR=""#99CC99""><B>COLUMN4</TD><TD ALIGN=""CENTER""
BGCOLOR=""#99CC99""><B>COLUMN5</TD><TD ALIGN=""CENTER"" BGCOLOR=""#99CC99""><B>COLUMN6</TD><TD ALIGN=""CENTER"" BGCOLOR=""#99CC99""><B>COLUMN7</TD><TD
ALIGN=""CENTER"" BGCOLOR=""#99CC99""><B>COLUMN8</TD><TD ALIGN=""CENTER"" BGCOLOR=""#99CC99""><B>COLUMN9</TD><TD ALIGN=""CENTER""
BGCOLOR=""#99CC99""><B>COLUMN10</TD><TD ALIGN=""LEFT"" BGCOLOR=""#99CC99""><B>COLUMN11</TD></TR>"
SHADE = "#FFFFFF"
Code:
IF MyArray(3,MyCursor) <= Date() then
body = body + "<TR><TD BGCOLOR=""" & SHADE & """>" & MyArray(0,MyCursor) & " </TD><TD WIDTH=300 ALIGN=""CENTER"" BGCOLOR=""" & SHADE & """>" &
MyArray(1,MyCursor) & "</TD><TD BGCOLOR=""" & SHADE & """>" & MyArray(2,MyCursor) & " <TD ALIGN=""RIGHT"" BGCOLOR=""" & SHADE & """>" &
MyArray(3,MyCursor) & "</TD><TD ALIGN=""RIGHT"" BGCOLOR=""" & SHADE & """>" & MyArray(4,MyCursor) & "</TD><TD ALIGN=""RIGHT"" BGCOLOR=""" & SHADE & """>" &
MyArray(5,MyCursor) & "</TD><TD ALIGN=""CENTER"" BGCOLOR=""" & SHADE & """>" & MyArray(6,MyCursor) & "</TD><TD ALIGN=""CENTER"" BGCOLOR=""" & SHADE & """>" &
MyArray(7,MyCursor) & "</TD><TD ALIGN=""CENTER"" BGCOLOR=""" & SHADE & """>" & MyArray(8,MyCursor) & " </TD><TD ALIGN=""CENTER"" BGCOLOR= """ & SHADE & """>"
& MyArray(9,MyCursor) & " </TD><TD ALIGN=""CENTER"" BGCOLOR=""" & SHADE & """><B>" & MyArray(10,MyCursor) & " </TD>[b]<P.CLASS:"breakhere">[/b]</TR>"