week of the month

G

Guest

hi,

iam preparing a crosstab query with the column heading being the weekday
i.e. sunday to saturday and the row heading being the first week to the last
week of the month and the value being the sales met on these dates. please
advice me how to group data as per week of the month
 
G

Guest

Hi binnie,

You can get the week number from beginning of the year easily enough by
using DatePart("ww",CDate(YourDate))
If you really want to find the week in a month, then you have do some more
work.

Hope this helps.
 

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