Fields on Page header in Report Layout

kanchankanchan Member Posts: 21
edited 2009-06-11 in NAV Three Tier
Hi,

We have to display Vendor address in PO report.For that we have added fields in Report Layout -> Page Header as 'ReportItems!Purchase_Header_Buy_From_Vendor_Name.Value'.But after running the report in RTC we are getting error '#ERROR'.
Is the syntax written is wrong or there is any other way to display fields on Page Header of a report layout?
--
Kanchan Patil

Comments

  • mohana_cse06mohana_cse06 Member Posts: 5,503
    as per my knowlwdge, we cannot directly show fields on page header.

    we have to use code.
    check basic report layouts you will get some idea?
  • AlishaAlisha Member Posts: 217
    To print fields on headers, you need to put it on the body as hidden, and then add a reference to it on the header using ReportItems!, for example, you would add "Company Name" to any textbox on the body, and then reference it as ReportItems!textbox999.value.

    The textbox999 is the name of that particular textbox on the body.
  • kanchankanchan Member Posts: 21
    We did the same thing as you suggested, but it is still not working.
    we are still getting '#error' instead of the value.
    --
    Kanchan Patil
  • AlishaAlisha Member Posts: 217
    I've done it in my reports and it works perfectly.. check that you have spelt the textboxes names correctly (it's case-sensitive), and also check that the textbox on the body is really printing (it's not on a row which is hidden for example), and inside the margins.
Sign In or Register to comment.