Hi
I have vba code
this works sucessfuly how can I add the following to the code so it filters month and year?
I have vba code
PHP:
DoCmd.OpenReport "MonthlyData2", acPreview, , " YEAR(CourseDate) = '" & Me.txtCourseDateMonth & "' "
this works sucessfuly how can I add the following to the code so it filters month and year?
PHP:
'" MONTH(CourseDate) = '" & Me.txtCourseDateYear & "' "