Sum char fields in footer groups

Leo BidiLeo Bidi Montevideo, Uruguay
edited 5:35AM in FastReport 4.0
Hi, all.

I have the need to put in some footers the sum of a character field, which contains time data with the '12:22' format.

ex:

detailband

aaa bbb cccc 01:10
bbb xxx dddd 01:20
ccc kkk ddee 02:10

footerband

total 04:40 ( total in hours and minutes )

i have in the delphi form a custom function that makes this special sum, but
how can i make this on the report ??

Many thanks.

Comments

  • edited 5:35AM
    use report events to catch the date and then put the sum to it.

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.