Filter Criteria
The purpose of this document is to explain the symbols and expressions that can be used to filter data in Ceres 5. When you enter criteria, you can use all the numbers and letters that you can normally use in the field. In addition, you can use special symbols or mathematical expressions to further filter the results.
The following table shows the symbols which can be used in filters in Ceres.
There may be instances where field values contain these symbols and you want to filter on them. To do this, you must include the filter expression that contains the symbol in quotation marks (''). For example, if you want to filter on records that start with the text S&R, the filter expression is 'S&R*'.
(..) Interval
| Sample Expression | Records Displayed |
|---|---|
| 1100..2100 | Numbers 1100 through 2100 |
| ..2500 | Up to and including 2500 |
| ..12 31 00 | Dates up to and including 12 31 00 |
| P8.. | Information for accounting period 8 and thereafter |
| ..21 | From the beginning of time until the 21st of the current month and current year at 23:59:59 |
| 21.. | From 21st of the current month and current year at 00:00:00 until the end of time |
| 22..23 | From 22nd of the current month and current year at 0:00:00 until 23rd of the current month and current year at 23:59:59. |
(|) Either/or
| Sample Expression | Records Displayed |
|---|---|
| 1200 | 1300 |
(<>) Not equal to
| Sample Expression | Records Displayed |
|---|---|
| <>0 | All numbers except 0 |
You may combine this symbol with a wild card expression. For example, <>A* meaning not equal to any text that starts with A.
(>) Greater than
| Sample Expression | Records Displayed |
|---|---|
| >1200 | Numbers greater than 1200 |
(>=) Greater than or equal to
| Sample Expression | Records Displayed |
|---|---|
| >=1200 | Numbers greater than or equal to 1200 |
(<) Less than
| Sample Expression | Records Displayed |
|---|---|
| <1200 | Numbers less than 1200 |
(<=) Less than or equal to
| Sample Expression | Records Displayed |
|---|---|
| <=1200 | Numbers less than or equal to 1200 |
(&) And
| Sample Expression | Records Displayed |
|---|---|
| >200&<1200 | Numbers greater than 200 and less than 1200 |
('') An exact character match
| Sample Expression | Records Displayed |
|---|---|
| 'man' | Text that matches man exactly and is case sensitive |
(@) Case insensitive
| Sample Expression | Records Displayed |
|---|---|
| @man* | Text that starts with man and is case insensitive |
(*) An indefinite number of unknown characters
| Sample Expression | Records Displayed |
|---|---|
| *Co* | Text that contains "Co" |
| *Co | Text that ends with "Co" |
| Co* | Text that begins with "Co" |
(?) One unknown character
| Sample Expression | Records Displayed |
|---|---|
| Hans?n | Text such as Hansen or Hanson |
('') Blank or empty
| Sample Expression | Records Displayed |
|---|---|
| '' | A record with no text in this field |
Combined format expressions
| Sample Expression | Records Displayed |
|---|---|
| 5999|8100..8490 | Include any records with the number 5999 or a number from the interval 8100 through 8490. |
| ..1299|1400.. | Include records with a number less than or equal to 1299 or a number equal to 1400 or greater (all numbers except 1300 through 1399). |
| >50&<100 | Include records with numbers that are greater than 50 and less than 100 (numbers 51 through 99). |