Options

Reports - Conditional Formatting

mbmartinwambmartinwa Member Posts: 18
Is it possible to change properties of a control on a report at runtime? e.g., if on a Sales Invoice, the line is type Item, then print the Item No. bold. Otherwise, if it's a resource then leave it normal.
Michael Martin

Comments

  • Options
    kinekine Member Posts: 12,562
    No. You can only create two sections and in one set font bold and show them based on the type...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    randrewsrandrews Member Posts: 135
    mbmartinwa wrote:
    Is it possible to change properties of a control on a report at runtime? e.g., if on a Sales Invoice, the line is type Item, then print the Item No. bold. Otherwise, if it's a resource then leave it normal.

    It is possible to do 2 report sections - one woth bold, another with normal font. And use
    For first section
    CurrReport.SHOWOUTPUT := ("Sales Invoice Line".Type = "Sales Invoice Line".Type::Item);

    For second:
    CurrReport.SHOWOUTPUT := ("Sales Invoice Line".Type = "Sales Invoice Line".Type::Resource);
Sign In or Register to comment.