Filters are not working on Page - NAV 2009 R2

Kau_147Kau_147 Member Posts: 84
Dear All,

My client wants to analysis the data as per the given filter. I have customized payroll module.
In that I create one page & taking 2 variables EmpCode & BranchCode. Also added a page as Part - Employee details.
& when user select empcode or BranchCode, in Subform/Part page the filtered data should be listed.

I tried for classic it works fine. But in RTC, page is not refreshed and also need to select twise the filter then only it works.

For your information I shared code, which I write on OnOpenPage() as well as on OnaftergetRecord() :

BCODE := 'HO';
CurrPage.DAttendLines.FORM.Set(EmpNo,BCODE); // Set function created in subpage to pass the value
CurrPage.DAttendLines.FORM.Update(True);

Please help.

Thanks in Advance,
Kavita Bavkar
Best Regards,
Kavita Mutha
RTC.bmp 550.7K
RTC1.bmp 675.8K

Comments

  • Kau_147Kau_147 Member Posts: 84
    Dear All,

    I have resolved this issue. \:D/ \:D/ \:D/

    Instead of taking Part/Subpage, I added variables on same page & set filters.
    Its working Now. =D>

    Thanks & Best Regards,
    Kavita Bavkar
    Best Regards,
    Kavita Mutha
Sign In or Register to comment.