christmoney1 Posted February 11, 2022 Share Posted February 11, 2022 Hello everybody.I would like to display my information like that : 39 north street. 01 hermont 77 This is my expression on jasperstudio."Adresse permanente: " + ($F{Rue (ligne1) Adresse PERM}== null? "": $F{Rue (ligne1) Adresse PERM}) + "n" + " <br/>" + ($F{Rue (ligne2) Adresse PERM} == null ? "": $F{Rue (ligne2) Adresse PERM})+ "n" + " <br/>"+($F{Rue (ligne3) Adresse PERM} == null? "": $F{Rue (ligne3) Adresse PERM}) + "n" + " <br/>" Where $F{Rue (ligne1) Adresse PERM} = 39 north street. $F{Rue (ligne2) Adresse PERM} = 01 hermont $F{Rue (ligne3) Adresse PERM} = 77In my database. But when i use the <br/> balise like in my expression it display information in the same line : 39 north street 01 hermont 77I need some help please.Sincerely. Link to comment Share on other sites More sharing options...
christmoney1 Posted February 11, 2022 Author Share Posted February 11, 2022 Sorry My expression work well.Sincerely. Link to comment Share on other sites More sharing options...
bigalex Posted February 11, 2022 Share Posted February 11, 2022 Option one: use only "n".Option 2: Change the text field “Markup” to HTML and use "<br>" 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