I have 3 dropdown boxes where the user can enter search criteria to search for customers. They can all be blank or can enter any combination of data. I want to set up an array to capture the data the user enters, do a case statement to set the field name and value and pass the field names and values to a function that builds a sql statement to return a dataset. Anyone have any examples using arrays in this function or know of any good articles. Thanks.