viking79 Posted January 26, 2012 Share Posted January 26, 2012 Hello,In my report I have the box for print repeated values unchecked, and even checked again in the XML view, but when I run the report it still wants to repeat values?Any suggestions?Thanks Link to comment Share on other sites More sharing options...
cbarlow3 Posted January 31, 2012 Share Posted January 31, 2012 I would need to see the jrxml probably (you could attach it), but my first guess is that your output rows aren't sorted by the criteria that you're considering "repeated". If your query returns values of A, B, C, D, A, A, D, B (in that order) and you set print repeated values for this field to false, all it would do is suppress the last occurrence of "A", because it immediately follows a return row that had "A". Also, you still get a detail band if you are printing more than one field...it just suppresses the printing of the actual field you have set that property on. It's so you can do things like the following:SELECT ACCOUNT_OWNER.NAME, ACCOUNT.NUMBER FROM ACCOUNT INNER JOIN ACCOUNT_OWNER ON ACCOUNT.OWNER_SERIAL=ACCOUNT_OWNER.SERIAL ORDER BY ACCOUNT_OWNER.NAMEand output it like this:James Brown 12345 40837 78113Marvin Gaye 10337 22215Ray Charles 10053etc. In this example, I order by the name and then I set the name field in my detail band to not print repeats (meaning "don't print if you're exactly the same value as the detail band immediately prior to this one). Hope that helps.Carl 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