Jump to content
JasperReports Library 7.0 is now available ×

Why combine is wrong??


2004 IR Help

Recommended Posts

By: Jacky - jacky11287

Why combine is wrong??

2004-08-04 19:33

Hi,

 

I have this expression in the text field:

"Name of Branch : " + ($F{NAME}==null)?("No Record"):($F{NAME})

 

I got error when it remains in one text field.

It said imcompatible type.

 

But when I spilt the above expression into two field, one holds "Name of Branch", one holds the remain expression, then the report goes well...

 

I just would like to ask the reason for that???

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...