Strange Error:divide by 0 exception when run RDLC W/O filter

sharadsharad Member Posts: 112
edited 2012-05-15 in NAV Three Tier
Hi Frnz,

Today I got a strange Error Divide By Zero Exception when Running a customized RTC Report.
It works fine in Classic with and without any filter but in RTC it runs well with filter but Shows given Error without
Filter. I can't understand why this error comes and how to trace or debug it?
Please Help
Sharad Gupta
Navision Technical Consultant & .Net Developer

Comments

  • mihail_kolevmihail_kolev Member Posts: 379
    probably you have some code in some section trigger. This code is not executed in RDLC layout. Move this code in some suitable trigger (OnPreDataItem, OnAfterGetRecord, OnPostDataItem) and separate it from the classic code using ISSERVICETIER

    did I guessed :roll: ?
    -Mihail- [MCTS]
  • sharadsharad Member Posts: 112
    Hi,

    I only have this type of code on Section trigger for 3 groupheader and group footer
    CurrReport.SHOWOUTPUT(CurrReport.TOTALSCAUSEDBY = FIELDNO("Buy-from Vendor No."));
    Sharad Gupta
    Navision Technical Consultant & .Net Developer
  • Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    sharad wrote:
    I can't understand why this error comes and how to trace or debug it?
    You could place messages/errors in order to understand when the error comes.
    ~Rik~
    It works as expected... More or Less...
Sign In or Register to comment.