jasper10 Posted April 6, 2010 Share Posted April 6, 2010 I have developed a iReport which gets the data from dtabase. The field in database is "LONG" and store data as shown belowJOHN SMITH .....................SAN FRANSISCOSARA THOMAS...........................DALLASI am able to pull this data to iReport in a Text Field. Is there any way/settings of TestField which can show this result in iReport in Fixed width such asJOHN SMITH ............................SAN FRANSISCOSARA THOMAS...........................DALLASPlease let me know if it is possible in iReport 3.7.1Post Edited by m0nika at 04/06/2010 23:09 Link to comment Share on other sites More sharing options...
slow Posted April 7, 2010 Share Posted April 7, 2010 uhm... you can use a font with fixed size to show fixed width label...ora better way is to split the string (Name and City are in the same db column???) in two separate text field, one for each column, so you can use different alignment for them.you can split the "long" string in the query you make to retrieve your data, or in the text fied (using String.substring(...)) ______________________________if it works... KARMA point please! : ) Link to comment Share on other sites More sharing options...
jasper10 Posted April 8, 2010 Author Share Posted April 8, 2010 Thanks. In my case Name and City are in the same db column asBOB JOHNSON ...................................SAN FRANSISCOBOB........................................ATLANTA I wanted to show this in PDF asOB JOHNSON ...................................SAN FRANSISCOBOB ...................................ATLANTA Link to comment Share on other sites More sharing options...
jasper10 Posted April 8, 2010 Author Share Posted April 8, 2010 Thanks. In my case Name and City are in the same db column as BOB JOHNSON ...................................SAN FRANSISCO BOB........................................ATLANTA 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