yodakung Posted February 2, 2007 Share Posted February 2, 2007 my fields are bigdecimal. many records are null. how can i display hyphen "-" if field null??? :( Link to comment Share on other sites More sharing options...
rsilverns.sympatico.ca Posted February 2, 2007 Share Posted February 2, 2007 The expression of your field could be: $F{myfield} == null?"-":$F{myField}.toString() and change expression class to be String. Replace the field.toString with a number formatter class as appropriate. Link to comment Share on other sites More sharing options...
yodakung Posted February 6, 2007 Author Share Posted February 6, 2007 Thanks a lot. :) Link to comment Share on other sites More sharing options...
ajorgensen Posted February 9, 2007 Share Posted February 9, 2007 Post edited by: ajorgensen, at: 2007/02/09 13:29 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now