psimonnyco
Programmer
Hello
I have CRX and SQL Server 2000.
In the time record table, I have the following:
EMPLOYEE, PAY CODE, HOURS, WAGES
123, 01, 40, 1000
456, 01, 20, 500
456, 01, 24, 1000
ETC.
On the employee table, I have:
EMPLOYEE, RATE
123, 1000
456, 1400
I'd like to be able to write a report that sums the hours on time record such that I have one record for each employee's 01 pay:
123, 1000
456, 1400
Easy enough, right. I created a formula that compares the total amount to be paid from time record against the RATE field on employee (diff)
I can't set my select expert to diff>0.01 because the expression needs to be evaluated later.
The best that I could do was to suppress zero values under format. Still, having people wade though 20 pages of data to find the 30 records that matter doesn't seem ideal.
I could play with a SQL command here to do the grouping before it returns to the report, but this simply may be a CRX limitation. The DBA here isn't too keen on custom views.
Ideas? Thanks.
I have CRX and SQL Server 2000.
In the time record table, I have the following:
EMPLOYEE, PAY CODE, HOURS, WAGES
123, 01, 40, 1000
456, 01, 20, 500
456, 01, 24, 1000
ETC.
On the employee table, I have:
EMPLOYEE, RATE
123, 1000
456, 1400
I'd like to be able to write a report that sums the hours on time record such that I have one record for each employee's 01 pay:
123, 1000
456, 1400
Easy enough, right. I created a formula that compares the total amount to be paid from time record against the RATE field on employee (diff)
I can't set my select expert to diff>0.01 because the expression needs to be evaluated later.
The best that I could do was to suppress zero values under format. Still, having people wade though 20 pages of data to find the 30 records that matter doesn't seem ideal.
I could play with a SQL command here to do the grouping before it returns to the report, but this simply may be a CRX limitation. The DBA here isn't too keen on custom views.
Ideas? Thanks.