Page 1 of 1

groupheaderband

Posted: Wed Jan 31, 2007 1:17 pm
by leonidio
Hello!

I'd like to know what is necessary to do so that the groupheaderband reads the parameters and changes the condition.
I have one webform to generate the report and I used the groupheaderband, but now I need to order!
Could you help me, please?!

Thanks :dumb:

groupheaderband

Posted: Wed Jan 31, 2007 9:18 pm
by Vital
To change order direction of GroupHeaderband you can use property SortDirection. For example:

Code: Select all

GroupHeaderBand1.SortDirection = StiGroupSortDirection.Descending;
Thank you.

groupheaderband

Posted: Thu Feb 01, 2007 6:43 am
by leonidio
Ok but and the dynamic condition has as I to use parameters in groupheaderband?

groupheaderband

Posted: Thu Feb 01, 2007 7:20 am
by leonidio
Hello

I need to use parameters to add more expressions in groupheaderband! The
parameters are sent by webform. How I can make this?

Thanks and good morning

ps: Sorry for my English, I am Brazilian and I do not write English very
well!!
:emb:

groupheaderband

Posted: Thu Feb 01, 2007 8:36 am
by Edward
You can set a custom Condition in the following way:

Code: Select all

(report.Pages[0].Components["GroupHeaderBand1"] as StiGroupHeaderBand).Condition.Value = "{Customers.CompanyName.Substring(0, 1)}";
report.Compile();
Thank you.