In some cases, a single comparison operation may not be sufficient to define the condition. With this situation in mind, Stimulsoft Reports allows you to specify multipart conditions. The following figure shows a two-level multipart condition in the condition editor.
The first part of the state.
The second part of the state.
The code for this condition as a logical expression is as follows.
(Categories.CategoryID) = 1 or (Categories.CategoryID = 2)
Types of logical addition for different parts of a multipart condition (AND ANDorOR)You can select. To define this, simply select the appropriate radio button.