Show datasource data out of databand

Stimulsoft Reports.NET discussion
Post Reply
ymc
Posts: 31
Joined: Tue Oct 30, 2007 9:00 pm
Location: Hong Kong

Show datasource data out of databand

Post by ymc »

Hi,
I would like to ask about how can I show the data from the datasource out of the databand.
For example,
I got a textbox in the footer and want to just show up the first data from datasource "A" column "Project".
Any idea?
Should I input {A.Project[1]} something like that in the textbox?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Show datasource data out of databand

Post by Vital »

You can use following expression:

Code: Select all

{First(DataSoource.Column)}
Thank you.

ymc
Posts: 31
Joined: Tue Oct 30, 2007 9:00 pm
Location: Hong Kong

Show datasource data out of databand

Post by ymc »

Thx.
But I would like to ask further how about take out second and third in the column?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Show datasource data out of databand

Post by Vital »

In this case you can use following expression:

Code: Select all

{DataSource.GetData("Column", 0)}

Code: Select all

{DataSource.GetData("Column", 1)}

Code: Select all

{DataSource.GetData("Column", 2)}
Thank you.
ymc
Posts: 31
Joined: Tue Oct 30, 2007 9:00 pm
Location: Hong Kong

Show datasource data out of databand

Post by ymc »

Thx for helping~
Post Reply