Hello, a simple IF condition should do it. IF StartDate = 0D THEN Item.SETFILTER("Date Filter",'..%2',EndingDate) else Item.SETFILTER("Date Filter",'%1..%2',StartingDate,EndingDate) best regards,
↧