Page 1 of 1

Show datasource data out of databand

Posted: Tue Jan 15, 2008 8:38 pm
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?

Show datasource data out of databand

Posted: Wed Jan 16, 2008 12:29 am
by Vital
You can use following expression:

Code: Select all

{First(DataSoource.Column)}
Thank you.


Show datasource data out of databand

Posted: Wed Jan 16, 2008 12:34 am
by ymc
Thx.
But I would like to ask further how about take out second and third in the column?

Show datasource data out of databand

Posted: Wed Jan 16, 2008 1:43 am
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.

Show datasource data out of databand

Posted: Wed Jan 16, 2008 1:47 am
by ymc
Thx for helping~