Make report with non related informations

Stimulsoft Reports.NET discussion
Post Reply
herbertpimentel
Posts: 5
Joined: Wed Jun 06, 2007 7:33 am
Location: Brasil, Macapá-AP

Make report with non related informations

Post by herbertpimentel »

Hi, I need create a report with diferent information. In this report I'll have a top element like a information about a Person and later I'll have information about Jobs of this Person and later I'll have information about many bank accounts of this Person and later I'll have information about kids (son) of this Person.
So, You can see that all the informations is related to Person and It's not a hierarchy. Then I can't use groups :(

let me try to show for you.


+-----------------+
| Page 1
|
| Person
| Job 1
| Job 2
| Job n
| Acount 1
| Acount 2
| Acount n
| Kid 1
| Kid 2
| Kid n
|
+-----------------+

+-----------------+
| Page 2
|
| Person
| Job 1
| Job 2
| Job n
| Acount 1
| Acount 2
| Acount n
| Kid 1
| Kid 2
| Kid n
|
+-----------------+

+-----------------+
| Page n
|
| Person
| Job 1
| Job 2
| Job n
| Acount 1
| Acount 2
| Acount n
| Kid 1
| Kid 2
| Kid n
|
+-----------------+


I make things like it using a resource called "SubReport" in another tool with DELPHI.
In this another tool one sub report is a report inside other. Then, I can have information "non related" in same report.
How can I do something like it using StimulReport ?



+-----------------+
| Page n
|
| Person
|+-------+
|| Job 1 |
|| Job 2 |------------------- subrepot
|| Job n |
|+-------+
|
|+----------+
|| Acount 1 |
|| Acount 2 |---------------- subrepot
|| Acount n |
|+----------+
|
|+------+
|| Kid 1 |
|| Kid 2 |-------------------- subrepot
|| Kid n |
||+-----+
|
+-----------------+




[]s
Herbert Pimentel


Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Make report with non related informations

Post by Edward »

Please do the following steps:

1. In the Designer in the Dictionary please make relations between Person DataSource and Jobs, Accounts and Kids DataSources as well.

2. Then using these relations please create the following bands sequence:

Person DataBand1

Job Databand2 (Master Component =DataBand1)

Account DataBand3 (Master Component =DataBand1)

Kid DataBand4 (Master Component =DataBand1)

Also set appropriate relation for Databands 2,3,4.

Sample steps on creating simple Master - Detail report you can find here:

http://www.stimulsoft.com/livedemos/Rep ... eport.html

http://www.stimulsoft.com/livedemos/Rep ... ort_2.html

So your report is different from the report from flashing tutorials only because in your report will be three detail bands instead of one detail DataBand.

Thank you.
Post Reply