I want filter on From date and Todate in the Form level please tell me the solution

based upon the Fromdate and Todate i want filter the grid records

can you send the code any one?

Iam new into ax

Try inserting the code in the ‘Init’ method of the form, after super call like this

datasrce.queryBuildDataSource().addRange(fieldnum(AMC_PurchPaymControlTmp,PurchCreateDate)).value(queryRange(dateNull(),systemDateGet()));

metinemreenglish.blogspot.com.tr/…/axapta-add-range-with-sysquery-to-form.html