Hi! I'm having problems applying a filter.
I have a command button which applies this simple filter:
Code:
--------------------------------------------------------------------------------
Me.Filter = "[Status] = 'WC'"
--------------------------------------------------------------------------------
But now I discovered that this filter didn't do enough. I need to exclude some more records. I need to exclude record which have a certain branchecode (which is a control on the form). Those certain codes are ("black-")listed in a query (which is dynamic, so I can't just enter those codes into the filter).
So what I need the filter to do besides the earlier posted one, is exclude a record if it's branchecode is equal to ANY of the branchecodes from the query.
If I'm not clear enough yet, just ask!