Im trying to filter my forms date field by year with a button.
when i apply the code to filter by month it works fine.
I even tried creating an unbound text field that displays the date field formatted for year and filtering that. any suggestions on a VBA fix
Code:
Me.Filter = "year([date])='2019'"
Me.FilterOn
Code:
Me.Filter = "month([date])= '10'"
Me.FilterOn = True