Nav 2013 - System automatically changes to Today's Date

Is there a way to have the system automatically change to “Today’s Date” automatically in a flow filter each day so I don’t have to change it? Thanks

Welcome To DUG!!!

Where you want to do that ??

You can try write following code on OnOpenPage Trigger of page

SETRANGE (“Date Filter”,0D,WORKDATE)

Or

SETRANGE(“Date Filter”,0D,TODAY);

Thanks for your reply. I am not sue how to program what you listed where I am at in NAV. I am using the chart of accounts and I am using the flow filter. I attached a pic.

8780.NAV.bmp (625 KB)

You can take start date from General Ledger Setup if you are updating the start date accroding to Year and write following code

Define General Ledger Setup table as RecordSet GLSetup

Write following code on OnOpenForm Trigger

GLSetup.GET

SETRANGE (“Date Filter”,GLSetup.“Start Date”,WORKDATE)