You are about to report the tutorial shown below for review. Please only report if there is a problem with it.
Thanks.
AddCriteria Simplifies SQL Queries ASP / Database Integration
The AddCriteria function (listed later) elegantly encapsulates the logic to build an SQL statement by adding optional criteria only if the user posted data for a field.