Options

How to use Variable section in a report layout

lornisselornisse Member Posts: 10
Hello

please i want to know how to declare variable and how to use it in a report layout variable section

Thank you
it is correct and work but if i want to use the CountDistinct function in the code section (custom code section = report properties code section ) and not in the body
it is possible ?

Right click → properties → variable (in the report layout)


hfo4bueezb2r.jpg

Answers

  • Options
    krikikriki Member, Moderator Posts: 9,089
    [Topic moved from 'NAV Tips & Tricks' forum to 'NAV Three Tier' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    BeliasBelias Member Posts: 2,998
    I don't think you can use the countdistinct in the code section...it's an aggregate function that works on a dataset.
    What do you want to achieve? I never needed "variables" section in my experience...and i've done hunderds of reports
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.