R
rascal
Hi all:
I have a query with date worked, log in time, log out time, acthrs and
overtime. With the help of Steve Schapel I was able to convert these to
actual hours worked. Now I need to take the actual hours worked and if more
than 8 hrs put the diff in the overtime field and if the hours worked are
less than 8 than put in 0 in the overtime field. My expression so far is
[acthrs]-8.0, but if the act hrs are less than 8 I get a negative amount
which I don't want. How do I write the expression to limit the overtime to
numbers greater more than 8.
thanks
I have a query with date worked, log in time, log out time, acthrs and
overtime. With the help of Steve Schapel I was able to convert these to
actual hours worked. Now I need to take the actual hours worked and if more
than 8 hrs put the diff in the overtime field and if the hours worked are
less than 8 than put in 0 in the overtime field. My expression so far is
[acthrs]-8.0, but if the act hrs are less than 8 I get a negative amount
which I don't want. How do I write the expression to limit the overtime to
numbers greater more than 8.
thanks