Need a help with reports!

BeckaBecka Member Posts: 178
Hi all! I need to change "GroupTotalFields" meaning from code in report.. If it is possible. And DateItemTableView.. So if any of you have such experience plz share it to me...
Thanks a lot :P
MCSD
Attain Navision

Comments

  • kinekine Member Posts: 12,562
    You cannot "change" GroupTotalFields, but you can use CurrReport.CreateTotals to create own totals of own variables.

    And regarding the DataItemTableView you can change filters and sorting through common C/AL commands like SETRANGE, SETFILTER, SETCURRENTKEY and in combination with FILTERGROUP you can change existing values too.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • BeckaBecka Member Posts: 178
    I used SETCURRENTKEY, but it doesn't work... Can you share with code examples?
    thanks
    MCSD
    Attain Navision
  • kinekine Member Posts: 12,562
    In which trigger? Can YOU share what you have used? :wink:
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.