Hi all,
I'm having a little difficulty in getting the information in my report the way I want.
I'm using CR 8.5 on a MS Jet database.
I have two tables I'm using Employee and Timedata. The employee table contains the employees name and the timedata contains the hours charged to each code, the two tables are linked by the primary key.
The information I want is the hours charged to each code per day, the only problem I have is when there is vacation time on the same day. I have everything in the details section, there are no formulas in the report except for the parameter field I use for the date range.
The fields in the report are {Employee.fullname},{timedata.date}, {timedata.reg}, {timedata.OT}, {timedata.DT} and {timedata.vac}
The output of my report looks like this.
Smith, Lana M 02/25/2004 REG 0.00
OVT 0.00
DBL 0.00
VAC 4.00
Smith, Lana M REG 4.00
OVT 1.37
DBL 0.00
VAC 0.00
As you can see it is giving me a duplicate record when there is vacation time. What I want is a single record that includes all of the hours charged to the day, like this.
Smith, Lana M 02/25/200 REG 4.00
OVT 1.37
DBL 0.00
VAC 4.00
I have tried grouping in various ways but still no joy, so any help you could give would be greatly appreciated.
Once I do get the info grouped the way I want I then want to only show those records that have both regular hours and vacation hours on the same day.
TIA
I'm having a little difficulty in getting the information in my report the way I want.
I'm using CR 8.5 on a MS Jet database.
I have two tables I'm using Employee and Timedata. The employee table contains the employees name and the timedata contains the hours charged to each code, the two tables are linked by the primary key.
The information I want is the hours charged to each code per day, the only problem I have is when there is vacation time on the same day. I have everything in the details section, there are no formulas in the report except for the parameter field I use for the date range.
The fields in the report are {Employee.fullname},{timedata.date}, {timedata.reg}, {timedata.OT}, {timedata.DT} and {timedata.vac}
The output of my report looks like this.
Smith, Lana M 02/25/2004 REG 0.00
OVT 0.00
DBL 0.00
VAC 4.00
Smith, Lana M REG 4.00
OVT 1.37
DBL 0.00
VAC 0.00
As you can see it is giving me a duplicate record when there is vacation time. What I want is a single record that includes all of the hours charged to the day, like this.
Smith, Lana M 02/25/200 REG 4.00
OVT 1.37
DBL 0.00
VAC 4.00
I have tried grouping in various ways but still no joy, so any help you could give would be greatly appreciated.
Once I do get the info grouped the way I want I then want to only show those records that have both regular hours and vacation hours on the same day.
TIA