summery of value

edited 5:16PM in FastReport 4.0
Hi, i have the next issue and dont know how to solf it.

iam new to FR.

i would like to create next report
companyname
adres


quantity, description, price, total
1 iphone 499,00 499,00
5 charger 10,00 50,00
.... bla bla bla
... bla bla bla
....bla bla bla
....bla bla bla


Page 1 TOTAL: 549,00

companyname
adres

TRANSPORT TOTAL : 549,00
quantity, description, price, total
1 samsung 300,00 300,00
3 dell pc 100,00 300,00
1 HP 400,00 400,00
1 toshiba 300,00 300,00
.... bla bla bla
... bla bla bla
....bla bla bla
....bla bla bla


Page 2 TOTAL: 1849,00


companyname
adres

TRANSPORT TOTAL : 1849,00
quantity, description, price, total
1 repair cost 80,00 800,00


tax 19%: 90,00
Total incl tax 1939,00

as you see on the first page i have to show the total of all products. (only if the report contains more then 1 page)
after the first page i have to show the total of all other pages
I just need to know how to make the fields which are colored red

can anyone help me with a tip?



Comments

  • gpigpi
    edited 5:16PM
    Use two-pass report. See FRDemo "Dialogs and script" section "Totals in group header" report

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.