ThaBizness
Registered User.
- Local time
- Today, 06:43
- Joined
- Sep 15, 2004
- Messages
- 19
I have a Access Program and associated reports I have inherited from another developer. The report/app is a time sheet. On this report I have the following sections:
Report Header(Blank)
Page Header (has the reports header)
LastName Header (has the last name of employee)
Detail
DateWorked Footer (Has the actual day and hrs worked that day. One line per day)
LastName Footer (Has totals for employee)
Page Footer
Report Footer (Has Totals over complete report)
Here is my problem. I have 2 fields in the detail section which I am putting a value in a hidden field. The values are:
In the DateWorked Footer the following text fields are there for these two values (JobCode 9990 and 9993)
When the report is ran this is all fine. I want to get a sum of the hrs for Job codes 9990 and 9993 in the LastName Footer and Report Footer and for the life of me cant figure it out - help
Report Header(Blank)
Page Header (has the reports header)
LastName Header (has the last name of employee)
Detail
DateWorked Footer (Has the actual day and hrs worked that day. One line per day)
LastName Footer (Has totals for employee)
Page Footer
Report Footer (Has Totals over complete report)
Here is my problem. I have 2 fields in the detail section which I am putting a value in a hidden field. The values are:
Code:
text33 =IIf([T_JobCode]="9990",[T_RegularHours],0)
text39 =IIf([T_JobCode]="9993",[T_RegularHours],0)
In the DateWorked Footer the following text fields are there for these two values (JobCode 9990 and 9993)
Code:
=IIf([text33]=0,Null,"(" & (Format([Text33],"#.00")) & ")")
=IIf([text39]=0,Null,"(" & (Format([Text39],"#.00")) & ")")
When the report is ran this is all fine. I want to get a sum of the hrs for Job codes 9990 and 9993 in the LastName Footer and Report Footer and for the life of me cant figure it out - help