How would I declare a variable to pass the report total of a sub-report to the main report? In the sub-report I declared:
whileprintingrecords;
numbervar Total := sum({@Labor});
In the main report I called:
whileprintingrecords;
numbervar Total
This did not work.
OK, I got it to work. I think what threw me off was the {sumrtime + @resptime} in your original response. Restating as sumrtime + {@resptime} in your reply helped out.
Thank you for your help!
In your example it appears that I am still missing the part where I total all @resptime. The response time calculation uses the "min" function for the labor date/time to calculate the reponse time for each workorder. I need to add all of the workorder response times together before calculating...
I have a field that is calculating response time between created date/time and the minimum labor date/time. I need to have a total response time for multiple records to calculate the average response time. This field is not displayed using the summary option.
How can this be accomplished?
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.