Display n:th row of a datalist?

Stimulsoft Reports.NET discussion
Post Reply
osched
Posts: 3
Joined: Wed May 08, 2013 10:08 am

Display n:th row of a datalist?

Post by osched »

Hi,
I need to display only the n:th row (defined for instance by a variable) of a datalist. How is this done?

Thank you in advance,
Oscar
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Display n:th row of a datalist?

Post by HighAley »

Hello, Oscar.

You could use the Condition where you should set next expression: Line != n and deselect Component in Enabled property there.

Thank you.
osched
Posts: 3
Joined: Wed May 08, 2013 10:08 am

Re: Display n:th row of a datalist?

Post by osched »

Thanks,
that seems to do the job!

On the same subject, I have defined an integer variable RowNumber in the report dictionary:
{IIF((Events.Name=="Failure"),RowNumber=Line,"Job OK")}
which should give the correct row number. However, the true part is returned even when the boolean expression is false and the variable
RowNumber always returns the last row number. Should I declare a different variable or change its properties?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Display n:th row of a datalist?

Post by Alex K. »

Hello,

Please send us your report with test data for analysis.

Thank you.
Post Reply