Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT 2.1RC2 - visibility problem with Total.count() - totalCountNOK.rptdesign (0/1)
BIRT 2.1RC2 - visibility problem with Total.count() - totalCountNOK.rptdesign (0/1) [message #162168] Thu, 18 May 2006 08:02 Go to next message
Frédéric Ferrant is currently offline Frédéric FerrantFriend
Messages: 75
Registered: July 2009
Member
Hello.

I was using BIRT 1.0 to generate PDF reports, and we are rolling over
to BIRT2.1RC2.
To hide:show sections of the report depending on the fact that some
data are present or not, I used 'Total.count() > 0' or 'Total.count()
== 0' in the table 'Visibility' property.
Unfortunately, this doesn't seem to work any more in BIRT 2.1RC2: as
you can see using the attached report, both tables are shown (the
table showing the data is shown even if there is no data, previously
handled by Total.count()==0, and the table showing the 'no data'
message is also shown, even if Total.count() > 0).

Any idea? Or do I have to use something else than Total.count() with
BIRT2.1RC2?

Thanks.

Frédéric
Re: BIRT 2.1RC2 - visibility problem with Total.count() - totalCountNOK.rptdesign (0/1) [message #162225 is a reply to message #162168] Thu, 18 May 2006 09:43 Go to previous messageGo to next message
Tomas Vala is currently offline Tomas ValaFriend
Messages: 41
Registered: July 2009
Member
Hi,

I have had the exactly the same problem like you. All you have to do is to
wait for RC3 or have a shot with recent nightly build where the problem is
fixed (though other things are not stable in there).

Have a look at this bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=136506

Tomas

"Frederic Ferrant" <frederic@ferrant.be> p
Re: BIRT 2.1RC2 - visibility problem with Total.count() - totalCountNOK.rptdesign (0/1) [message #163234 is a reply to message #162225] Sat, 20 May 2006 18:03 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 87
Registered: July 2009
Member
RC3 will handle 2.0 reports that use Total.count() in the Visibility
property. However, if you create a 2.1 report, you cannot use the technique
you used in 2.0. The new procedure is:

1) At the table level, create a new column binding, for example,
Total_Count. Then under Expression, specify Total.count().

2) Create a label (or whatever) element whose visibility property you want
to set.

3) Set the visibility expression to row["Total_Count"] != 0

As you can see, step 1 is the new step.

"Tomas Vala" <tomas.vala@samo.cz> wrote in message
news:e4hfhb$5bd$1@utils.eclipse.org...
> Hi,
>
> I have had the exactly the same problem like you. All you have to do is to
> wait for RC3 or have a shot with recent nightly build where the problem is
> fixed (though other things are not stable in there).
>
> Have a look at this bug report:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=136506
>
> Tomas
>
> "Frederic Ferrant" <frederic@ferrant.be> p
Re: BIRT 2.1RC2 - visibility problem with Total.count() - totalCountNOK.rptdesign (0/1) [message #163311 is a reply to message #163234] Mon, 22 May 2006 09:16 Go to previous message
Tomas Vala is currently offline Tomas ValaFriend
Messages: 41
Registered: July 2009
Member
Thanks a lot for your advise. I see RC3 was released recently so I'll put
myself into testing this new version soon :)

Tomas

"Diana Peh" <diana.peh@actuate.com> p
Previous Topic:Row border of a Table
Next Topic:DOC or RTF Emitter for Birt
Goto Forum:
  


Current Time: Mon Sep 23 11:10:23 GMT 2024

Powered by FUDForum. Page generated in 0.03458 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top