Home Search

DriveWorks Pro 22
Exact

Send Feedback

Exact

Compares 2 values or strings and returns TRUE if they match exactly otherwise returns FALSE.

Syntax

Exact([Comparand1], [Comparand2 ])

Where:

Comparand1 and Comparand2 are strings, or references to strings, that are to be compared.

If Comparand1 and Comparand2 are exactly the same, when the Exact function is calculated, TRUE is returned.

If Comparand1 and Comparand2 are not exactly the same, when the Exact function is calculated, FALSE is returned.

Examples

Rule

Meaning
Exact(CustomerNameTextBoxReturn, CustomerComboBoxReturn)The Exact function will compare the return value from the CustomerNameTextBox, to the return value from the CustomerComboBox. If the two values are an exact match, then the function will return TRUE, otherwise it will return FALSE.

Example Outcomes

CustomerNameTextBoxReturn Value

CustomerComboBoxReturn Value

Result of the Exact function

"Sandra Smith""Sandra Smith"TRUE
"john smith""John Smith"FALSE