hprasanna84 Posted March 22, 2007 Share Posted March 22, 2007 Hi, 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 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