Options

not getting some meaning

abhayerpabhayerp Member Posts: 4
hi all,
i am new in navision so i can't get the proper meaing of this line
CurrReport.SHOWOUTPUT := CurrReport.TOTALSCAUSEDBY=fieldno()

so can anybody explain the meaning and use of this line


thanks

Comments

  • Options
    kapamaroukapamarou Member Posts: 1,152
    CurrReport.SHOWOUTPUT Tells you weather the section will be printed or not.

    CurrReport.SHOWOUTPUT := Value or
    CurrReport.SHOWOUTPUT(value) allows you to control weather the section will be printed.

    If you select a specific key for the dataitem and set the GroupTotal fields then with

    CurrReport.SHOWOUTPUT := CurrReport.TOTALSCAUSEDBY=fieldno(XXXXX)

    you say:

    Print the specific (group in this case) section if the grouping has changed for the field XXXXX (so the value of XXXXX has changed from the previous record(Grouping).

    So:

    If you have a sorting like "Order Date", "Customer No." you can add two group footer sections and print the one when the customer changes and the other when the order date has changed, thus having totals by customer and totals by Order date.
Sign In or Register to comment.