How to sum fields from not every row?

edited 1:37AM in FastReport 4.0
Hi, I have a report like on the picture below:
examplehra.jpg

But I don't have any idea how to do such summing(like in this example).

I think that it's rather simple to understand, but if not:

I have to sum up every day.
There are two sums each day. One of them is the time, when employee was out the company and this time isn't included in work time(out duty). The second sum is the time, when employee was out the company and this time is included in work time(in duty).

And report sum, where I sum all those sums.


Any idea how can I achieve this?
But please, don't tell me: "Use code", just give me at least a clue >

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.