Sorry guys, the same error as before.
The error that I’m getting is “the action or method is invalid because the form or report isn’t bound to a table or a query”
Hi, Thanks for the help.
After I put
Dim sCriteria As String
sCriteria = "(Year([supplier_issuer_date])=Year(Date()) And DatePart(""ww"",[supplier_issuer_date],0)=DatePart(""ww"",Date(),0)) = "
If Me.OpenedDateFilter = "Today" Then
Me!Browse_All_Issues.Filter = sCriteria...
I have a main form (search) that has an unbound combo box (name: OpenedDateFilter) on my main form that has the following list values. "Today";"This Week";"Last Week";"This Month";"Last Month".
My subform (Browse All Issues) has a date field (supplier_issuer_date) that I want to filter. I know...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.