Problem with DataBand into another DataBand

Stimulsoft Reports.NET discussion
Post Reply
bolyan
Posts: 3
Joined: Fri Feb 08, 2008 12:51 pm
Location: Quebec

Problem with DataBand into another DataBand

Post by bolyan »

Hello !

I must display sale history of properties.
I have a table Property and a table SalesHistory.
A property can be sold more than one time.

I tried to put a container in the Databand of properties and in this container I put another databand for the sales.
Here's the where of the query for the sales databand: where SalesHistory.NoInscr = '{Property.NoInscr}'

The problem is only the sales of the first property is displayed.

Maybe there's a better way to do this?

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

Problem with DataBand into another DataBand

Post by Edward »

It is difficult to say something without a report template.

Please send the report template to support[at]stimulsoft.com for analysis.

Thank you.
Stephan1
Posts: 122
Joined: Fri Aug 31, 2007 7:22 am
Location: Germany

Problem with DataBand into another DataBand

Post by Stephan1 »

Maybe you can use a Relation between the Main Databand(Properties) and the Childdataband Saleshistory.

Also set in the Saleshistory Databand the main Databand = Properties. And for sure the Relation which you are using.

So all your Properties with related Saleshistory will be printed.

Check it out.

Stephan
Post Reply