Page 1 of 1

Dynamic list in page header

Posted: Fri Jun 10, 2011 6:28 am
by jmiller
I want to create a report where the parameters used to run the report need to appear in the header of each page. One of these parameters is a list of codes. I am not sure how to go about doing this in Stimulsoft. Here is sample data. There can be 1 or more elements in , and 0 or more which is the main content of the report. I can easily place FromDate and ToDate into a PageHeader component, but I don't know how to put the list of codes there.


2010-01-01
2010-12-31
AB
XY


Product 1
100.00


Product 2
200.00



Product X
500.00


Product Y
600.00



This is what I would like to see:
Page 1:
From Date: 2010-01-01
To Date: 2010-12-31
Codes: AB XY

Product Price
======= =====
Product 1 100.00
Product 2 200.00
*other products that fit on page*

Page 2:
From Date: 2010-01-01
To Date: 2010-12-31
Codes: AB XY

Product Price
======= =====
Product X 500.00
Product Y 600.00


Dynamic list in page header

Posted: Fri Jun 10, 2011 6:36 am
by jmiller
Never mind, I think I figured it out. I didn't know I could create a sub-report inside a page-header band. From here the rest was easy.

Dynamic list in page header

Posted: Fri Jun 10, 2011 6:43 am
by Andrew
Ok!