Matching an exact string value in a QBE expression
To instruct the application to match only an exact value, enclose the string in single quotation marks in the QBE expression. Returned data must match the enclosed string exactly. Returned data does not include values that have additional characters at the end of the string. Table 3-3 lists the values that example QBE expressions return.
'Smith ' 'Smith 'In the preceding table, a comma appears as a list separator for Smith, Jane. To specify a list separator that is locale independent, use the pipe sign (|).
Table 3-4 lists the special characters you can include in a QBE expression.
Using a special character as a literal character in a QBE expression
You must follow specific syntax when providing a QBE expression that matches a value that contains a special character as a literal character, such as a greater than sign (>). Type a backslash (\) before each special character, or enclose the string in single quotation marks, which directs the application to match the string value exactly. For example, the following QBE expression uses a backslash before the comma. The application interprets the comma literally:
Without the backslash, depending on your locale setting, the application interprets the comma as an OR.
To specify a list separator that is locale independent, use the pipe sign (|).
The following QBE expression matches the percent sign (%) literally in a string: