Hi,
I've created a split form and am trying to make a search field which incorporates 2 separate text boxes.
Now, I've made a button for on click event for a single unbound text box and used the code :
Me.Filter = "[sch_StoreName] = '" & Me.sch_filterText & "'"
Me.FilterOn = True
Me.Requery
That works perfectly
Now I've made another text box <sch_filterDate> and cannot get the one button to filter this text box at the same. Essentially creating two filters on the form at the same time. I've tried "
Me.Filter = "[sch_StoreName] = '" & Me.sch_filterText & "'" And [sch_Date] = ' "_ & Me.sch_filterDate & "'"
Me.FilterOn = True
Me.Requery
which doesn't work.... any ideas??
I've created a split form and am trying to make a search field which incorporates 2 separate text boxes.
Now, I've made a button for on click event for a single unbound text box and used the code :
Me.Filter = "[sch_StoreName] = '" & Me.sch_filterText & "'"
Me.FilterOn = True
Me.Requery
That works perfectly
Now I've made another text box <sch_filterDate> and cannot get the one button to filter this text box at the same. Essentially creating two filters on the form at the same time. I've tried "
Me.Filter = "[sch_StoreName] = '" & Me.sch_filterText & "'" And [sch_Date] = ' "_ & Me.sch_filterDate & "'"
Me.FilterOn = True
Me.Requery
which doesn't work.... any ideas??