If you are not familiar with these basic concepts, you need to go through the Ultradev tutorials ... Dynamically UD Tutorial 12 - Advanced Search Technology (AST) - Using SQL WhereStrings for Advanced ...