Jump to content

Some Probles whit Ireport 3.5 need Help


blackadder

Recommended Posts

Hello.

First of all,please forgive my bad english, i'm not very good whit it.

I'm a newbie whit Ireport and i have some questios that i like to ask.The easiest first.

1º)

I have to print one rectangle in the background of the records to make the odd records look direferent.How can i do do to print
one record yes and one no the rectangle in the background.

2º)

I have the total fields in the column footer of the report,but if i don't have enough records to fill a page,these fields stay at the bottom of the page
and i want to fill whit blank records the gape between the records and the column footer.


3º)

i have all the data en a map that i passed like recordset,but i have the record data (the part that i want to show in the detail) inside of an array list
and i don't know how to show the records(maybe in a subreport ????)

the recordset estructure:

    •image – java.io.file
    •name – java.lang.String
    •account – java.lang.String
    •prize – java.math.BigDecimal
    •season – java.lang.String
    •dataList – java.util.ArrayList. In each position of this Array there is a Map whit the following keys:
            o date – java.util.Date
            o import - java.math.BigDecimal
            o sales - java.math.BigDecimal
            o incomes - java.math.BigDecimal
            o exports - java.lang.String
            o shape - java.math.BigDecimal
           
    •Charge – java.lang.String
    •dni – java.lang.String
    •responsability – java.lang.String


thank you very much and best regards
 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 1) You'll have to use a print-when expression that uses a record count / 2 sort of calculation to determine when the rectange is printed.

2) Do you want the information to stay at the bottom of the page (the totals) or are you looking to move them up so there is not blank space on the page?  Page footer prints at the bottom of the page and I believe the Summary section prints at the end of the current detail (middle of the page if that's where the detail 'ends').

3) Not sure, sorry.  I haven't had any experience in what you're hoping to do.

Link to comment
Share on other sites

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...