summery of value

edited 10:57AM 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 10:57AM
    Use two-pass report. See FRDemo "Dialogs and script" section "Totals in group header" report

Leave a Comment