Sorting date field ny day and month

R

Robin Chapple

I have a membership database which records date of joining.

I need to mention anniversaries in a weekly bulletin and therefore
need to sort my report by day and month.

How do I do that? I do not know where to start.

Thanks,

Robin Chapple
 
D

Douglas J Steele

Simplest way would be to base your report on a query, and have one (or two)
computed fields in that query in addition to whatever other fields you need.

If you go the one-field route, use Format([AnniversaryDate], "mmdd"). For
the two-field route, use Month([AnniversaryDate]) and
Day([AnniversaryDate]).

In the report, select the computed field(s) in the Sorting and Grouping
dialog to have your report sort correctly.
 

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

Similar Threads


Top