Ordering data in related datasets

Stimulsoft Reports.NET discussion
Post Reply
Jacco van der Pol
Posts: 4
Joined: Thu Apr 03, 2008 7:00 am
Location: Netherlands

Ordering data in related datasets

Post by Jacco van der Pol »

I have two datasets with a master detail relation between them. In the queries a sort order is specified.

When I use the datasets individually (without relation) this order is visible in my report.

When I relatie the datasets, the order of both datasets is random (not like the order by clause).

Does anyone know why?

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

Ordering data in related datasets

Post by Edward »

If your report contains more than one Connection to data and relations between different Connections, then you need to set Report.CacheAllData property in true.
For this in the Designer please click in any place outside the page, in the Property Editor Report object will be selected, then you may set the property.

Thank you.
Post Reply