J
joecosmides
If IsNull(Me.BeginDate) Or IsNull(Me.EndDate) Then
Me.FilterOn = False
Else
Me.Filter = "[SoldDate] = #" & (Between [BeginDate] and
[EndDate])
Me.FilterOn = True
End If
I'm not sure what code I need to get this to work but I have to
unbound text boxes that are called BegineDate and EndDate. I have a
command button that needs to filter the form when I click it.
Me.Filter = "[SoldDate] = #" & (Between [BeginDate] and [EndDate]) is
not correct and I know this but it's the best example I can give
because I'm not sure how the colde should look. The SoldDate is what
is filtering the form and it needs to show any orders that were
between BeginDate and EndDate.
Thanks!
Me.FilterOn = False
Else
Me.Filter = "[SoldDate] = #" & (Between [BeginDate] and
[EndDate])
Me.FilterOn = True
End If
I'm not sure what code I need to get this to work but I have to
unbound text boxes that are called BegineDate and EndDate. I have a
command button that needs to filter the form when I click it.
Me.Filter = "[SoldDate] = #" & (Between [BeginDate] and [EndDate]) is
not correct and I know this but it's the best example I can give
because I'm not sure how the colde should look. The SoldDate is what
is filtering the form and it needs to show any orders that were
between BeginDate and EndDate.
Thanks!