Jump to content
Changes to the Jaspersoft community edition download ×

URGENT::fixed length fields possible?


Recommended Posts



im trying to create a flat file(.txt) using ireport.

The requirement is like this:


there are some hardcoded strings along with fields populated by sql. I need to have fixed length fields.

For eg:


"<hardcoded string>" $F{field} "<string>" <string3">


i need to control the length of the string and pad to the right with spaces(which i do with scriptlets) to ensure tht the formatting is proper..


is there a way to define a structure where i can specify a set of cells and the max length of each cell???(this is diff from a table.this is more like a multidimensional array).

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...