Since you can only pass values to the query and not operators (=, <,>,LIKE, >= etc.), you have to use a different approach than what you have been using. You will have to build the query within code (i.e. the SQL text). Once constructed you can assign the SQL text to the record source property...