Have a ASP form/page that displays information based on a date range. I
would like it to print sub-totals for the week(s) (ends on Saturday),
plus keep a running total for the end of the report. Not sure how to
have the break happen.
**code start**
If IsDate(lin) Then
wknda = lin
End If
If IsDate(loff) Then
wkndb = loff
End If
wkndbrk = Weekday(wkndb)
If (Weekday(wkndb) < wkndbrk) Then
Response.Write("<td></td><td></td><td>Weekly Total:</td><td>" & wkhrs)
'& "</td><td>Possible Vacation</td></tr>")
wkhrs = 0
wkndbrk = 0
End If
**code end**
Thanks in advance
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!