The error is because the Integer command INT is not returning a whole number. Probably caused by a () problem.
Try deconstructing the formula section by section to find the bug.
You may need to paste (Maximum ({ENDO_INOUT_STATS.ELAPSED_TIME}, {ENDO_INOUT_STATS.SCHED_DATE})/60) into the formula where {@GRP_ELAPSED_HOURS} exists in my formula.
Val(ToText(Truncate({table.minutes}/60),0) + "." + ToText({table.hours} MOD 60))
It worked but it has a small bug that I can't fix; if the total number of hours is less than 60, it displays the number with a decimal point to the left only.
total minutes Total hours
-------------- --------------
30 .30 as opposed to .5.
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.