Domanda

In our database (That not only jasper uses) we have start and end dates columns

If a record does not yet have a end date "2999/12/31" is entered in the database

How can we on domain level get the domain to display all "2999/12/31" dates as null / no date, so that we can use it in adhoc reports

Note:

Using jasperserver 5.0.1 (Upgrading to 5.5.0 soon)

È stato utile?

Soluzione

I used This as a Calculated Field and it worked

if(myTable.enddate >= '2999-12-31', addNULLPlaceHolder() , myTable.enddate)

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top