I'm sorry... I've seen your post today because I need to do the same thing...
No, U don't have to go through a VB Function, your query should be something like:
SELECT ... FROM ... WHERE (flagFld BAND 2) > 0
and it will return all the record that have the 2nd bit set in the field flagFld.
I suggest to set the option on a new database, because the syntax is a bit different and previous queries could not work.
Bye, Max