The
command opens a non-modal dialog window that allows the user to specify search criteria, as shown below:Query form
The user should fill in one or several fields with values against which the database contents will be tested. When OK is pressed, the program generates a query based on the non-empty fields (they're combined with a logical AND, therefore for a particular message to be retrieved, it has to match all the submitted criteria). Then it runs the query and on completion, create a new page of results in the window from which the command has been called.