B
Birgit via AccessMonster.com
Hi!
I have a form with a checbox "Done" and command button "NotDone" with
following code:
Private Sub NotDone_Click()
Me.Filter = "Done=0"
Me.FilterOn = True
End Sub
This works properly on the first clicking after writing the code, but if I
stop filtering and click the button again I get message (in Finnish)
"Peruutit edellisen toiminnon" which means in English something like "You
cancelled previous action". Error number is 2001. When I delete the code and
save my project and restart Acces with my project and rewrite the code, the
first clicking works, but next clicking gives the same message. I think my
hair is getting grey soon. Can somebody help me, pease!
My Acces version is 2007.
I have a form with a checbox "Done" and command button "NotDone" with
following code:
Private Sub NotDone_Click()
Me.Filter = "Done=0"
Me.FilterOn = True
End Sub
This works properly on the first clicking after writing the code, but if I
stop filtering and click the button again I get message (in Finnish)
"Peruutit edellisen toiminnon" which means in English something like "You
cancelled previous action". Error number is 2001. When I delete the code and
save my project and restart Acces with my project and rewrite the code, the
first clicking works, but next clicking gives the same message. I think my
hair is getting grey soon. Can somebody help me, pease!
My Acces version is 2007.