UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Report that groups records on birthday month    
 
   
gtadamsesq
post Jun 29 2005, 06:25 PM
Post #1

UtterAccess Enthusiast
Posts: 59
From: Satellite Beach, Florida



The table has a birthday (input mask is "Short Date", i.e," 9/12/1956", and I want to build a report that groups records by the month of the [birthday] field. The sorting is currently set at [birthday], [ last_name], [first_name] which puts all the records in birthday order by year, month, day, lastname, firstname. How do I make the report group the records by month, i.e., show all records with birthdays in January (regadless of birth year), then February, etc.
Go to the top of the page
 
+
R. Hicks
post Jun 29 2005, 06:29 PM
Post #2

UA Forum Administrator
Posts: 38,073
From: Birmingham, Alabama USA



Create a "field expression" to return the month value of the birthday field ...
Example:
CODE
BirthMonth: Month([birthday])

This will return the numeric month value ..
You can then group by this field expression ...

RDH
Go to the top of the page
 
+
r_cubed
post Jun 29 2005, 06:31 PM
Post #3

UtterAccess VIP
Posts: 3,752
From: Australia (NSW)



Look at using the DatePart statement as (another) output field from your query, and then base the grouping on THAT
Go to the top of the page
 
+
gtadamsesq
post Jun 30 2005, 01:24 PM
Post #4

UtterAccess Enthusiast
Posts: 59
From: Satellite Beach, Florida



Thanks! Worked like a charm once I figured out where to stuff the expression.
Go to the top of the page
 
+
R. Hicks
post Jun 30 2005, 01:30 PM
Post #5

UA Forum Administrator
Posts: 38,073
From: Birmingham, Alabama USA



That is great ... You are welcome .. (IMG:http://www.utteraccess.com/forum/style_emoticons/default/wink.gif)

RDH
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 25th May 2013 - 10:28 AM