Dynamic list in page header

Stimulsoft Reports.NET discussion
Post Reply
jmiller
Posts: 91
Joined: Mon Sep 20, 2010 12:18 pm

Dynamic list in page header

Post 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

jmiller
Posts: 91
Joined: Mon Sep 20, 2010 12:18 pm

Dynamic list in page header

Post 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.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Dynamic list in page header

Post by Andrew »

Ok!
Post Reply