
Originally Posted by
Welshgasman
That indicates it cannot find that criteria, so check your spelling and even check the value.
Start using Debug.Print to check you have what you think you have. i believe I have said this to you before?

Walk your code with F8 and breakpoints and examine what you actually have, not what you think you have.
See the Debugging link in my signature on how to do this, if you do not know.
I have run into the spelling error before and checked, rechecked, entered, re-entered, copied and pasted the Name of the checkbox at least a dozen times.
This is the filter code
Code:
Private Sub Filter_Button_Click()
Me.Filter = "Apiary_Active_LkUp = -1"
Me.FilterOn = True
End Sub
This is the checkbox

I did a step through on the debugging as you have suggested. I did learn that from you from before.
When it steps into the Me.Filter line, that's when this popup shows up asking for the value.

I can enter a value manually and it works but that kind of defeats the purpose.
If I can't figure it out by tomorrow, I'll upload a copy of the file.
Thanks for trying to help.....