Expression error

Stimulsoft Reports.NET discussion
Post Reply
Pef
Posts: 10
Joined: Mon Jan 14, 2013 6:51 am

Expression error

Post by Pef »

Hi,

I'm Pef, and please excuse my very bad english... I'm French.

I actually use stimulsoft integrated in another program, and try to do something.

I have 12 pages on my report.
On each page, there is a databand with filter conditions.

For exemple :
- Page1 databand1 : Filter = red
- Page2 databand2 : Filter = blue
- etc.

I want to disable a page the databand is empty.

If there is only blue things in the datas, i will print only the page 2.

I tried to build an condition (with expression) to disable the differents pages, but there is always an error.
On each page, I have some text object (Text1, Text2, Text3, etc.)
Some Text objet calculate the number of line in the databand.

I tried the expression : Text216==0, Text216=="0", Text216="0", Text216=0, but it doesn't.

Any idea to solve my problem ?

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Expression error

Post by Alex K. »

Hello,

Please send us you report for analysis.

Thank you.
Pef
Posts: 10
Joined: Mon Jan 14, 2013 6:51 am

Re: Expression error

Post by Pef »

Ok, solved.

I use the condition : Count(DataBaseband1)==0
then invisible.

It works.

I have now a new problem... for a new topic... :mrgreen:
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Expression error

Post by Alex K. »

Hello,

Ok. Thank you for the information.
Post Reply