J
James Frater
Hello All,
I'm having difficulty in passing a filter through to a subform on the
click() event of a button. I've tested it out in a query adn it works
beautifully, but I jsut can't get it to work for the subform. Any thoughts?
Many thanks
James
Sub RefreshSeries()
Dim strWhere As String
strWhere = "sdate<=" & Me.txtToday & " and edate>=" & Me.txtToday
With Me.sub_Series.Form
.Filter = strWhere
.FilterOn = True
End With
End Sub
I'm having difficulty in passing a filter through to a subform on the
click() event of a button. I've tested it out in a query adn it works
beautifully, but I jsut can't get it to work for the subform. Any thoughts?
Many thanks
James
Sub RefreshSeries()
Dim strWhere As String
strWhere = "sdate<=" & Me.txtToday & " and edate>=" & Me.txtToday
With Me.sub_Series.Form
.Filter = strWhere
.FilterOn = True
End With
End Sub