5. Working with QBF Operations : QBF Retrieve Operation : Search Qualifications : How Logical Operators Are Used
 
Share this page                  
How Logical Operators Are Used
QBF allows you to use the logical operators AND (conjunction) and OR (disjunctive) to qualify retrievals. AND and OR are known as Boolean operators:
When you use the AND operator, QBF retrieves only data records that meet both or all of the criteria you specify.
When you use the OR operator, QBF retrieves data records that meet any one of the criteria you specify.
There are two ways to use the AND and OR operators:
Within a column
Between different columns
For more information on the use of Boolean operators, see the chapter "VIFRED Field Specifications."