Hi all, I am using a database where I have more than 2000 records. I want to create a form where user can select query criteria from several combo box and generate query. All that I could do but I can't pass "greater than" or "less than " symbol as parameter to the query, like I have two text boxes which I can use to pass perameter for "date of birth" and "date of enrollment" and also two combo boxes where user can select "<", ">" or "=" operator. I want that user should be able to select "<", ">" symbol and then put date in the text field to get the result. I am not an expert on VBA, can any one help me with this problem. I appreciate your cooperation in advance.