I have a report in Access 97 which is group by employee number and has the following totals for each employee
SumOfStdHrs
SumOfTotalUnits
Units/Hr (this is calculated SumOfTotalUnits/SumOfTotalUnits
Goal (I enter this number weekly)
85% (This is calculated [Goal]*.85
If the Units/Hr is less than 85% of the Goal, I want the backcolor to be red. I don't know exactly how to do this.
If ([SumofTotalUnits]/[SumOfStdHrs]>[Goal]*.85
Then [SumofTotalUnits]/[SumOfStdHrs].Backcolor =red
Most of the answers I found for the backcolor didn't have the calculations and I don't know code.
Thanks,
SumOfStdHrs
SumOfTotalUnits
Units/Hr (this is calculated SumOfTotalUnits/SumOfTotalUnits
Goal (I enter this number weekly)
85% (This is calculated [Goal]*.85
If the Units/Hr is less than 85% of the Goal, I want the backcolor to be red. I don't know exactly how to do this.
If ([SumofTotalUnits]/[SumOfStdHrs]>[Goal]*.85
Then [SumofTotalUnits]/[SumOfStdHrs].Backcolor =red
Most of the answers I found for the backcolor didn't have the calculations and I don't know code.
Thanks,