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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Group Count of Dates (No Duplicates)



 
 
Thread Tools Display Modes
  #1  
Old October 15th, 2009, 05:35 PM posted to microsoft.public.access.reports
NFL
external usenet poster
 
Posts: 74
Default Group Count of Dates (No Duplicates)

I have a report grouped by day/month/year. The date field IS only placed on
the group header and not in the details. The details may show many
occurances and I would like to count the days once.

Thank you

  #2  
Old October 15th, 2009, 08:19 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Group Count of Dates (No Duplicates)

NFL wrote:

I have a report grouped by day/month/year. The date field IS only placed on
the group header and not in the details. The details may show many
occurances and I would like to count the days once.



Add a text box (named textRunCount) to the group header or
footer) section, Set it's control source expression to =1
and RunningSum to Over All. Then a report footer text box
can display the total by using the expression =textRunCount

--
Marsh
MVP [MS Access]
  #3  
Old October 15th, 2009, 09:48 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Group Count of Dates (No Duplicates)

Apparently you want to count group headers. If this is the case, add a couple
text boxes:

Section: Group Header
Name: txtRunCount
Control Source: =1
Running Sum: Over All
Visible: No

Section: Report Footer
Control Source: =txtRunCount


--
Duane Hookom
Microsoft Access MVP


"NFL" wrote:

I have a report grouped by day/month/year. The date field IS only placed on
the group header and not in the details. The details may show many
occurances and I would like to count the days once.

Thank you

  #4  
Old October 19th, 2009, 07:09 PM posted to microsoft.public.access.reports
NFL
external usenet poster
 
Posts: 74
Default Group Count of Dates (No Duplicates)

Thank you ... that did the trick! :-)

"Duane Hookom" wrote:

Apparently you want to count group headers. If this is the case, add a couple
text boxes:

Section: Group Header
Name: txtRunCount
Control Source: =1
Running Sum: Over All
Visible: No

Section: Report Footer
Control Source: =txtRunCount


--
Duane Hookom
Microsoft Access MVP


"NFL" wrote:

I have a report grouped by day/month/year. The date field IS only placed on
the group header and not in the details. The details may show many
occurances and I would like to count the days once.

Thank you

 




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 04:09 PM.


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