Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dont show first record of each employee...

Status
Not open for further replies.

jhermiz2

Programmer
Dec 2, 2003
62
US
I'm doing a report on labor hours by week.
I select a date range and it does it by week...but for instance I select Feb 16 till March 8 and it shows week 7,8,9,10...I want to skip week 7 for EVERY employee...but I cant. I tried to suppress on that section using:
OnFirstRecord but it only works for the first employee on the report. I need to do it for every employee...

Jon
 
Suppress the detail section (or GH2 within each employee) using the following expression:
-------------------------------------------
Previous({emp_id}) <> {emp_id}
-------------------------------------------

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
But I dont want to suppress the employee...

I have a group ACTDATESTART that is done by week...

so it may do the following:

Engineering
Jon Smith
Week 7
Week 8
Week 9
Joe Blow
Week 7
Week 8
Week9
.....
......

I want to get rid of the first initial week (week 7) for each employee.

Thanks,
Jon
 
The approach I suggested will solve this for you. Just apply it to whatever section contains the Week information
(and make sure that section is a Group Header -- Not a Group Footer!).

You may need to add special handling for the first section in the report:
-------------------------------------------
(NOT OnFirstRecord) AND Previous({emp_id}) <> {emp_id}
-------------------------------------------

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top