Sorting by Month, Week, Days

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

Guest

Hello,

I just created some records of shifts for workers, and I need to be able to
sort them by months, weeks and days.

For example, I have 4 record on July 20, 4 on July 21, 7 on July 22 and so on,
I want to be able to show a report where:
July 20 - record 1
record 2
record 3
record 4

July 21 - record 5
record 6

and so on

any help would be appreciated
 
Then in your grouping and sorting box, do something like this....

=Format([SomeDateFiel],"YYMM")

Then set a group header for that grouping.

In your header, put the date in the format you desire...

=Format([SomeDateField],"MMMM") & " " & Format([SomeDateField],"DD")
 
To follow Rick's sorting in the Grouping and sorting, you don't have to
create a group header, instead list all the fields together and on the
HideDuplicates Property of the Date field select True
 
Thank you to both
That has been very helpful

Ofer said:
To follow Rick's sorting in the Grouping and sorting, you don't have to
create a group header, instead list all the fields together and on the
HideDuplicates Property of the Date field select True
 

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