Reporting Service 2005 and headers

  • Hi all,  

    Header and Footers do not take fields related to a dataset.  I have to make them refer to databound fields  that are located within the body

     

    When my databind control does not arise, my Header connected to this control is not posted.  

     

    It is normal, but it is my problems

     

    Let’s take for example of  invoice:

    - an invoice of 30 lines with a pagination of 10 lines per pageµ

    - a table of Totals which follows my first table containing the lines of my invoice.

    - The header contains the address of the customer to be invoiced (the posted infos are connected on the first table)

     

    On the 4th page, the header of the table of details  is not repeated as there is no more row to display; therefore the header of the report doesn't hold any info  anymore.

     

    Do you have an idea ?


    Kindest Regards,

    degrem_m
    Degremont

  • I am assuming that you are only printing one invoice at a time? If so, try using report parameters (hidden option selected) that get filled in from an initial parameter selection. When the initial parameter (possibly the primary key value) receives it value use it in a lookup to fill the other parameter fields. Then you could place text boxes with references to the "Parameters!(parametername).Value" in the address fields layout of the report header.

    If you are not creating invoices for only 1 customer at a time, try adding additional lines to the header section of your first table and set the property 'Repeat On New Page' to true.

    I hope that helps.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply