Options

Header data is not shown in rdlc

PinkyPinky Member Posts: 13
edited 2011-08-22 in NAV Three Tier
Hi Guys,
I wanna show the data in header rdlc report..
I already input the information in table body.. and created a textbox in header, use "Reportitems!textbox1.Value"
But as I know if the table is empty, the data is not shown too..

So, how to show the data in header, even if the line of table is empty..?? ](*,)
Need your help, please..

Comments

  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    Pinky wrote:
    Hi Guys,
    I wanna show the data in header rdlc report..
    I already input the information in table body.. and created a textbox in header, use "Reportitems!textbox1.Value"
    But as I know if the table is empty, the data is not shown too..

    So, how to show the data in header, even if the line of table is empty..?? ](*,)
    Need your help, please..

    have you already tried with functions SetData/GetData as in standard report Sales Invoice?
    ~Rik~
    It works as expected... More or Less...
  • Options
    PinkyPinky Member Posts: 13
    Yup, i've tried that one..
    But, it didn't work.. It's shown only if the dataset is not empty again..
    Give me another way, please..
  • Options
    mohana_cse06mohana_cse06 Member Posts: 5,503
    Can you show us your report layout?

    You should not have added invisible fields in table sections..
    try by adding them before table
  • Options
    postsauravpostsaurav Member Posts: 708
    Hi Pinky,

    If you have issues relating RTC Report Layout then follow steps as
    http://saurav-nav.blogspot.com/search/label/RTC%20Reports

    Thanks & Regards
    Saurav Dhyani
    http://saurav-nav.blogspot.com/

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • Options
    DenSterDenSter Member Posts: 8,304
    Think about that one. You want to show some data in the header, so you put a textbox in there that displays the data from the line. Now you are asking how to display the data even if the line is empty....

    If the line is empty then there IS no data to display, so it makes sense that the header also doesn't display data.
  • Options
    DevendraSharmaDevendraSharma Member Posts: 23
    if it's more important to you to show header data even if line don't have data.
    in classic
    you take a integer table and set his MaxIteration property 1 , and put all information in it,
    in rdlc
    take a table base group on integer.no then put your header information.

    now you can show your header information using set and get function and reportitem.fieldname value
  • Options
    vijay_gvijay_g Member Posts: 884
    You should use mattrix report method in your report AFAIK.
    see this link for how to make mattrix report..
    http://blogs.msdn.com/b/nav/archive/200 ... 9-sp1.aspx
  • Options
    shashinpandeshashinpande Member Posts: 19
    Try adding "Filter" Property of the whole Table for which you want to show the Header.\

    This should solve your Problem.
    //Shashin
  • Options
    PinkyPinky Member Posts: 13
    Hi All,
    It is solved.. I added 1 certain data item that has content like Company Information..
    Thx :wink:
Sign In or Register to comment.