hide section designer

brijeshvaidyabrijeshvaidya Member Posts: 50
Hello,

i hide the section in reports, but the value of record in hide section is calculated,

i want that the value is calculated only that are showing in the section.

i used sumindexfield, flowfield in the two tables.

so where i have to check the condition for above scenario?

Regards,

Brijesh Vaidya
Brijesh Vaidya
Sr. Software Engineer
India

Comments

  • matttraxmatttrax Member Posts: 2,309
    Well you already know the condition for when the section shows. That's whatever you put in the SHOWOUTPUT function.

    If you know that then it's just a simple

    IF myCondition THEN
    CALCFIELDS or CALCSUMS or whatever calculation you are doing.
  • kinekine Member Posts: 12,562
    1) All depends on where and what you are doing
    2) If you are calculating the values in Section trigger, it is not good. section triggers are mainly for visibility of the section, not calcualting values (just read the documentation)
    3) If you want to skip some record and not print the section, use CurrReport.Skip to skip the record. Section will not be printed, nothing will be calculated...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.