I need to design a report (in this case an "offering") with this structure (to obtain indentation on forum i use the code tag):
Code: Select all
Offering header
Name of installation
Works to do (detail)
TOTAL money amount of Works to do
Variants to works to do (detail)
Name of installation
Works to do (detail)
TOTAL money amount of Works to do
Variants to works to do (detail)
Name of installation
...
TOTAL MONEY OF AMOUNTS OF WORKS TO DO FOR THIS OFFERING
Offering feet
Offering number
Installation name
Work id
Total amount of works for the installation
IsAVariant (boolean)
The number of records is given by the number of works and variants.
DataSource example:
Say we have three installations, two in one offering and one in another.
Say that for each installation i have one work and one variant.
In this case the datasource is made of 6 rows (one for each work or variant); example (fields are in the sequence stated above):
(Offering 001)
Record 1: 001 Installation1 Work01 500 False
Record 2: 001 Installation1 Variant01 500 True
Record 3: 001 Installation2 Work02 130 False
Record 4: 001 Installation2 Variant02 130 True
(Offering 002)
Record 5: 002 Installation3 Work03 250 False
Record 6: 002 Installation3 Variant03 250 True
The final report result should be something like:
Code: Select all
Offering number: 001
Installation1
Works Id:
Work01
Total amount of Works: 500
Variants Id:
Variant01
Installation2
Works Id:
Work02
Total amount of Works: 130
Variants Id:
Variant02
Total offering number 001: 630
--- New Page
Offering number: 002
Installation3
Works Id:
Work03
Total amount of Works: 250
Variants Id:
Variant03
Total offering number 002: 250
Anyone can help with some design hint?
Note that the data source cannot be changed and i cannot write any code in report.
Thank you.