Fill in Weekdays on Reports

G

GitarJake

Hello all,

I need a report that will display calendar weekends, i.e.:


Saturday 10/18/03
Data,data,data,data

Sunday 10/19/03
Data,data,data,data

Saturday 10/25/03
Data,data,data,data

Sunday 10/26/03
Data,data,data,data

Or maybe even a calandar control that I can fill in. As you can tell, I'm
lost. How can I do this?

TIA

Jake
 
K

Ken Snell

Not sure of what you're trying to do, but you can use the DatePart function
to identify if a date is a Saturday or Sunday:

If DatePart("w", DateFieldName, vbSaturday) = 1 Or _
DatePart("w", DateFieldName, vbSaturday) = 2 Then
' this is a Saturday or a Sunday
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top