geregs
I@mac
- Local time
- Today, 14:48
- Joined
- Feb 27, 2008
- Messages
- 20
Hi All!
Thanks again Bob! It really helped me.
I wondered, if you could help me something connected to the last question.
I created a form and one text box on it for the filter and a command button for the filter. Everything works great with filter but I would like to use the same text box to use the filter again but not to lose previous filter (filter on filter).
I tried like this:
Dim Filtika As String
If Me.FilterOn = True Then
Me.Filter = Filtika
Me.Filter = "[myfieldname] = '" & Me![mytextboxname] & "' And Filtika"
Me.FilterOn = True
Else
Me.Filter = "[myfieldname] = '" & Me![mytextboxname] & "'"
Me.FilterOn = True
End If
But with no result
Thanks in advance
Thanks again Bob! It really helped me.
I wondered, if you could help me something connected to the last question.
I created a form and one text box on it for the filter and a command button for the filter. Everything works great with filter but I would like to use the same text box to use the filter again but not to lose previous filter (filter on filter).
I tried like this:
Dim Filtika As String
If Me.FilterOn = True Then
Me.Filter = Filtika
Me.Filter = "[myfieldname] = '" & Me![mytextboxname] & "' And Filtika"
Me.FilterOn = True
Else
Me.Filter = "[myfieldname] = '" & Me![mytextboxname] & "'"
Me.FilterOn = True
End If
But with no result
Thanks in advance