S
SC in Texas
I am trying to create a formula in a textbox that will only add a biweekly
earnings to sick hours when the total sickhours are below a cap of 1600 hrs.
The current set up in my report has a txtBeginSickHrs ( Beginning hours for
the calendar year) in the header of the report.
I then have txtSickUsed (a running sum of sick hour used) and txtSickEarned
(a running sum of the pay period earning rate of sickleave)
txtSickBal is a textbox that dispays the new balance for each payperiod where
txtSickBal = txtBeginSickHrs + txtSickEarned - txtSickUsed
My problem is that txtSickEarned should be zero whenever the previous
txtSickBal >= 1600 and should be the normal rate anytime txtSickBal < 1600
The only ways I have come up with for controlling the txtSickEarned toggle
between zero and normal hours create a circular function, therefore an error.
Any help would be appreciated.
Thanks.
earnings to sick hours when the total sickhours are below a cap of 1600 hrs.
The current set up in my report has a txtBeginSickHrs ( Beginning hours for
the calendar year) in the header of the report.
I then have txtSickUsed (a running sum of sick hour used) and txtSickEarned
(a running sum of the pay period earning rate of sickleave)
txtSickBal is a textbox that dispays the new balance for each payperiod where
txtSickBal = txtBeginSickHrs + txtSickEarned - txtSickUsed
My problem is that txtSickEarned should be zero whenever the previous
txtSickBal >= 1600 and should be the normal rate anytime txtSickBal < 1600
The only ways I have come up with for controlling the txtSickEarned toggle
between zero and normal hours create a circular function, therefore an error.
Any help would be appreciated.
Thanks.