I'm trying to use the BuildWhere function by FancyPrairie to filter a form and put the results back into the form (make the recordsource the result of the function) or have a popup using the results. I put the code in the OnClick event of a command button, but I just get an error saying: Ambiguous name detected: BuildWhere. I was wondering if anybody might be able to help me get this working. Thank you!