Report Help with Hiding and counting

rkrause

Registered User.
Local time
Today, 04:43
Joined
Sep 7, 2007
Messages
343
I have a report thats has 2 levels of grouping. One level is EmployeeID, and other is sources. The source headings are labeled like this
Injuries
PunchIN
Under this Heading in the Detail part theres notes like Early, Late
PunchOut
TimeSheets
Innovative
Main

This problem im having is i dont want to show PunchIn, PunchOut, and Timesheets on the report, but i want to count how many times they were Early, or Late, and put the count in the Source Footer.

Please help, if u need more clarification let me know.
 
The section has a Visible property that can be set like any other. If you want it visible or not based on what the source is, you can put code in the section's format event. Test the field and set the visibility accordingly.
 
do you have any sample code?

i think its something like. If field = "late" then visable
else not visable?
 
Me.Whatever.Visible = True
Me.Whatever.Visible = False

Where "Whatever" is the section to be hidden. If it's a group header, it's probably GroupHeader0 or GroupHeader1.
 

Users who are viewing this thread

Back
Top Bottom