DataBand Sorting with BusinessObjects

Stimulsoft Reports.NET discussion
Post Reply
DavidP
Posts: 1
Joined: Wed Jan 28, 2009 2:27 pm
Location: Canada

DataBand Sorting with BusinessObjects

Post by DavidP »

I am trying to use the Sort property on a data band which is using BusinessObject as a data source. It doesn't seem to work. Can you help ?

I'm using the latest pre-release of Reports.Net (2010.08.02 R2010)

Many thanks,

Dave Prentice
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

DataBand Sorting with BusinessObjects

Post by Jan »

Hello Dave,

Sorry this property don't work for Business objects.

Thank you.
vorauler
Posts: 71
Joined: Wed Jul 15, 2009 1:20 am

DataBand Sorting with BusinessObjects

Post by vorauler »

Hello Dave

I use businessobjects within all of my report's and if I sort it I use a expression like this
in the sort section of the databand:
(txtSortierung == "Name") ? Insurant.Nachname : Insurant.Versichertennummer
It work perfect for us, but maybe I have misunterstood your question.

Ralf
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

DataBand Sorting with BusinessObjects

Post by Jan »

Hello Ralf,

Yes it correct if you use RegData method for business objects. In this case report engine convert objects to dataset on the fly. So we can use standard methods to sort data. In case of using RegBusinessObject report engine use business objects directly.

Thank you.
Post Reply