Report with 8 data items - sections missing on preview/print

emulsifiedemulsified Member Posts: 139
I have a report with 8 dataitems.
The report in total has 50 sections.

Value Entry, Header (1)
Value Entry, Header (2)
Value Entry, Header (3)
Value Entry, Header (4)
Value Entry, Body (5)
Value Entry, GroupFooter (6)
Value Entry, Footer (7)

Value Entry2, Header (1)
Value Entry2, Header (2)
Value Entry2, Header (3)
Value Entry2, Body (4)
Value Entry2, GroupFooter (5)
Value Entry2, Footer (6)

Value Entry3, Header (1)
Value Entry3, Header (2)
Value Entry3, Header (3)
Value Entry3, Body (4)
Value Entry3, GroupFooter (5)
Value Entry3, Footer (6)

Value Entry4, Header (1)
Value Entry4, Header (2)
Value Entry4, Header (3)
Value Entry4, Body (4)
Value Entry4, GroupFooter (5)
Value Entry4, Footer (6)

Value Entry5, Header (1)
Value Entry5, Header (2)
Value Entry5, Header (3)
Value Entry5, Body (4)
Value Entry5, GroupFooter (5)
Value Entry5, Footer (6)

Value Entry6, Header (1)
Value Entry6, Header (2)
Value Entry6, Header (3)
Value Entry6, Body (4)
Value Entry6, GroupFooter (5)
Value Entry6, Footer (6)

Value Entry7, Header (1)
Value Entry7, Header (2)
Value Entry7, Header (3)
Value Entry7, Body (4)
Value Entry7, GroupFooter (5)
Value Entry7, Footer (6)

Value Entry8, Header (1)
Value Entry8, Header (2)
Value Entry8, Header (3)
Value Entry8, Body (4)
Value Entry8, GroupFooter (5)
Value Entry8, Footer (6)
Value Entry8, Footer (7)


These sections are not printing:

Value Entry8, Header (1)
Value Entry8, Header (2)
Value Entry8, Header (3)
Value Entry8, Body (4)
Value Entry8, GroupFooter (5)
Value Entry8, Footer (6)
Value Entry8, Footer (7)


It's not any of the properties for the section because they match all of the printing sections section per section, property per property.

Anyone have any ideas?
Half-empy or half-full how do you view your database?

Thanks.

Answers

  • kapamaroukapamarou Member Posts: 1,152
    How about code in sections / triggers? Indentation? Sorting? Filters?

    It's really hard to guess without more information.
  • emulsifiedemulsified Member Posts: 139
    Yes, there is code in sections but no CurrReport.SKIP; or SHOWOUTPUT(FALSE); anywhere they shouldn't be no calls to any codeunits or anything.

    I originally had 5 dataitems and the report was just fine. I added 3 more dataitems and only the last section I mentioned doesn't output.

    Is it possible the report is too large? This is NAV 4.0 SP3 by the way. I would post the code but it has proprietary information in it so I'm not permitted to do so.
    Half-empy or half-full how do you view your database?

    Thanks.
  • Ravi_Prakash_GoyalRavi_Prakash_Goyal Member Posts: 72
    this Should not be the case. I had a report with almost 100 sections and it is running fine. Only thing is each section has only one row and that too are conditioned based.

    Check the DataItem properties like PrintOnlyIfDetail, MaxIteration etc. Is the last dataitem is indented to some other dataitem. If yes, may be you can check DataItemLink property again or the filters in OnPreDataItem trigger of last dataitem. Dry run it and Check whether you are sure to get some data with the applied filters.
  • emulsifiedemulsified Member Posts: 139
    This is strange, a first for me.

    I added another dataitem after the one that wasn't showing up on the output. I copied sections and code from the one that wouldn't show up and mirrored it into the new dataitem/sections.
    I saved the report, went back into the report and deleted the dataitem/section that wasn't showing up and then saved the report again.
    I ran the report and now the section is showing up without a problem.

    Could the report have been messed up somehow? Strange. I guess I'll call this solved. Thanks for your help. :D
    Half-empy or half-full how do you view your database?

    Thanks.
Sign In or Register to comment.