CountData not working with Business objects

Stimulsoft Reports.NET discussion
Post Reply
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

CountData not working with Business objects

Post by Jennypi »

Hello,

In the report example attached, I'm trying to show as many "DataBand2" as I have "List.Lots.LotNoOfSeedsInStock".
To do this, I have set BeforePrint and AfterPrint events. It is usually working perfectly when using "normal" datasources, but here with Business objects, I can't have the report working. It's blank.

Can you help please?

Thank you!
Attachments
sample.zip
(4.87 MiB) Downloaded 161 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: CountData not working with Business objects

Post by HighAley »

Hello.

Could you describe what do you want to do?
Anyway you do it wrong. We need to get an answer to help you.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: CountData not working with Business objects

Post by Jennypi »

Hi,

Here what I'm trying to do:
List A
Lot 1 - 5 seeds -> 5 labels
Lot 2 - 2 seeds -> 2 labels
Lot 3 - 4 seeds -> 4 labels
----
List B
etc.

Is it clearer?

Thanks.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: CountData not working with Business objects

Post by HighAley »

Hello.

Sorry, but Business Objects work different.
Please, put the DataBand on a Panel like in attached report template.

Thank you.
Attachments
Report_modified.mrt
(12.99 KiB) Downloaded 172 times
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Re: CountData not working with Business objects

Post by Jennypi »

Thank you, it works perfectly :)
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: CountData not working with Business objects

Post by Andrew »

Hello,

Thank you for letting us know about this.
Post Reply