Select Records for CrossData Band.

Stimulsoft Reports.NET discussion
amitkaushik
Posts: 74
Joined: Fri Dec 07, 2012 11:35 am

Select Records for CrossData Band.

Post by amitkaushik »

Hi,
I have a datasource hold the multiple rows for same "ID".
I use that DS for crossdataband and i need to show an ID single(First Record) time with complete row elements.
How can I avoid another rows to print in Cross Band?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Select Records for CrossData Band.

Post by Alex K. »

Hello,

Can you please send us your a sample report with test data for analysis.

Thank you.
amitkaushik
Posts: 74
Joined: Fri Dec 07, 2012 11:35 am

Re: Select Records for CrossData Band.

Post by amitkaushik »

Please take help of image for that...
Last edited by amitkaushik on Mon Apr 08, 2013 12:33 pm, edited 1 time in total.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Select Records for CrossData Band.

Post by Alex K. »

Hello,

Please try to use the Distinct construction in your query.

Thank you.
amitkaushik
Posts: 74
Joined: Fri Dec 07, 2012 11:35 am

Re: Select Records for CrossData Band.

Post by amitkaushik »

thanks but I can't do that, can I do something with DataSouce?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Select Records for CrossData Band.

Post by Alex K. »

Hello,

As a way, you can try to add the additional data source as "Data from Other DataSource" in which you can use the grouping by ID.

Thank you.
amitkaushik
Posts: 74
Joined: Fri Dec 07, 2012 11:35 am

Re: Select Records for CrossData Band.

Post by amitkaushik »

Yes I already try that but DS still have multiple records for same IDs.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Select Records for CrossData Band.

Post by Alex K. »

Hello,

Please send us your report with test data for analysis.

Thank you.
amitkaushik
Posts: 74
Joined: Fri Dec 07, 2012 11:35 am

Re: Select Records for CrossData Band.

Post by amitkaushik »

Please find the attached files.
In that XML we have more the one values for ID '1' but I want to present first one on the report.

Thankyou
Attachments
New Folder (3).rar
(6.3 KiB) Downloaded 205 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Select Records for CrossData Band.

Post by HighAley »

Hello.

You should to set the Expression of the Cross-Group header to {Column.ID} and move all text components on this header.

Thank you.
Post Reply