Dates in Queries and reports

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I have a database with salesdate and sales assistant as fields. I have all
sales listed from January through now. Can anyone advise me how to "group"
the queries by Week? SHould there be some specific date format used? I would
like to be able to show Sales per day per assistant on a weekly basis and
possibly producing a report with all sales assistants sales for the week...
and hopefully a chart !! I have bought all sorts of books on this, but cant
make head nor tail of them... they dont pay much attention to grouping
issues. You guys are always great.

Thanks
Stuart
 
Hi
I have a database with salesdate and sales assistant as fields. I have all
sales listed from January through now. Can anyone advise me how to "group"
the queries by Week? SHould there be some specific date format used? I would
like to be able to show Sales per day per assistant on a weekly basis and
possibly producing a report with all sales assistants sales for the week...
and hopefully a chart !! I have bought all sorts of books on this, but cant
make head nor tail of them... they dont pay much attention to grouping
issues. You guys are always great.

Thanks
Stuart

Add a new column to the query.
SalesPeriod:DatePart("ww",[DateField])

Group your report on SalesPeriod in the Report's Sorting and Grouping
dialog.

Look up DatePart() in VBA help for the additional arguments available
in this function.
 

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

Back
Top