Search documents by conditions

Can anybody help me, please?How can user start to search documents by conditions (For Example: If he needs documents with some date, or documents with “The Author”)? How can I program it? Should I use View for it? Or should I use View only for conditions that I know beforehand?

Subject: Search documents by conditions

You can either do it by view . You can also do this by making a Search in the database.

You can check the Search Method of the NotesDatabase Class for the same.

In the Search Method you can make ur own Query and filter the Results…