A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Birthday list by month



 
 
Thread Tools Display Modes
  #1  
Old October 31st, 2008, 04:33 PM posted to microsoft.public.access
Soyful
external usenet poster
 
Posts: 1
Default Birthday list by month

I have grouped my report my month but it also separates by year. I would like
a report of birthdays by month regardless of they year of birth. Is that
possible? Thanks.
  #2  
Old October 31st, 2008, 04:40 PM posted to microsoft.public.access
Al Campagna[_2_]
external usenet poster
 
Posts: 1,462
Default Birthday list by month

Soyful,
Use the Month(YourDate) to assign a value to every record (1-12).
Then group your report on that value.
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."

"Soyful" wrote in message
...
I have grouped my report my month but it also separates by year. I would
like
a report of birthdays by month regardless of they year of birth. Is that
possible? Thanks.



  #3  
Old October 31st, 2008, 05:04 PM posted to microsoft.public.access
BruceM[_2_]
external usenet poster
 
Posts: 1,763
Default Birthday list by month

One way is to use this as the Grouping expression in the report:

=DateSerial(Year(Date()),Month([BirthDate]),1)

I would use a group header. In the header put a text box bound to
BirthDate, formatted as mmmm. Force a new page before the section (on the
group header property sheet). These are formatting choices that will not
affect the basic idea one way or the other.


"Soyful" wrote in message
...
I have grouped my report my month but it also separates by year. I would
like
a report of birthdays by month regardless of they year of birth. Is that
possible? Thanks.


  #4  
Old October 31st, 2008, 05:45 PM posted to microsoft.public.access
fredg
external usenet poster
 
Posts: 4,386
Default Birthday list by month

On Fri, 31 Oct 2008 09:33:00 -0700, Soyful wrote:

I have grouped my report my month but it also separates by year. I would like
a report of birthdays by month regardless of they year of birth. Is that
possible? Thanks.


Group it by month instead of month and year.

In Report Design View. click on View + Sorting and Grouping
In the Report's Sorting and Grouping dialog:

Field/Expression Sort
=Month([DateOfBirth]) Ascending

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #5  
Old October 31st, 2008, 06:06 PM posted to microsoft.public.access
BruceM[_2_]
external usenet poster
 
Posts: 1,763
Default Birthday list by month

Ah! That's the one I was trying to think of. Tidier than DateSerial.

"fredg" wrote in message
...
On Fri, 31 Oct 2008 09:33:00 -0700, Soyful wrote:

I have grouped my report my month but it also separates by year. I would
like
a report of birthdays by month regardless of they year of birth. Is that
possible? Thanks.


Group it by month instead of month and year.

In Report Design View. click on View + Sorting and Grouping
In the Report's Sorting and Grouping dialog:

Field/Expression Sort
=Month([DateOfBirth]) Ascending

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:15 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.