Page takes too long to load data

jimmyfjimmyf Member Posts: 104
edited 2015-10-28 in NAV Three Tier
Hi
I have a list page which displays data from the G/L entry table. The page hangs when loading as there are over 5 million records in the table. Is there any way to allow users to apply filters before the page loads data?
This is Nav 2013 on SQL server 2012.

Comments

  • belindasphotobelindasphoto Member Posts: 4
    Maybe you can preset a filter to open the page first and allow user to revise the filters?
    Otherwise, you need call page.runmodal from another page.
  • krikikriki Member, Moderator Posts: 9,112
    [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!


  • AventselAventsel Member Posts: 1
    You can preset filters on opening page, just write the code on the OnOpenPage trigger:
    SETRANGE("Posting Date",CALCDATE('<-CY>',WORKDATE),CALCDATE('<CY>',WORKDATE);

    I believe this can decrease the scope of record to show and increase performance. Then user can revise filters.
Sign In or Register to comment.