문제

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)

도움이 되었습니까?

해결책

I used This as a Calculated Field and it worked

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top