We have six specific codes I need to convert. If I am understanding you correctly, I am using the PR_Time_Card_History_MC.Union_Code as my table. The second position is the key to their labor code. If it is L it is Laborer, if it is D it is driver, if it is O it is operator.
If you only have six codes to convert, then just create a formula like this in the field explorer->formula->new:
if isnull({PR_Time_Card_History_MC.Union_Code}) then
"" else //or "No Code"
(
select mid({PR_Time_Card_History_MC.Union_Code},2,1)
case "D" : "Driver"
case "O" : "Operator"
case "L" : "Laborer" //etc.
)
Well, my report looks great except when I added the race id string it increased my running total for hours.
I am using the following for my total hours - {#RTotal0} + {#RTotal1} I have tried multiple formula's to get it to only count the race id row once to no avail.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.