If it's just a standard filter, you could either:
a) Use the Filter button that's on the standard toolbar
b) put some code into your own button such as:
Code:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 2, , acMenuVer70
I am a loud man with a very large hat. This means I am in charge