Jump to content
We've recently updated our Privacy Statement, available here ×

thiago.af19

Recommended Posts

I have a problem with the report.

The extra character ''/'' is coming out in the report. The correct thing is to generate the result: ''07/2022'' and not ''07/2022/''

How do I resolve this in iReport?

Print When Expression: 

($F != null) && (!$F.equals( "" ))[/code]

Text Field Expression: 

$F + "/"[/code]

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Id Field is in Date format then you can change for that field Pattern as above for as far as for solution MM-yyyy

if its in string use query to convert string TO date format as use above pattern or any pattern as per your need.

If you need much clean Answer then share Query and Format of Field which you are trying to display. 

In this Question we are not clear about data value and its Data type

 

Link to comment
Share on other sites

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...