This article relates to the following functions:
When checking for an error it is important to understand the difference between an error value and an error string.
An error value is returned by DriveWorks as a result of a invalid rule.
Invalid rules are typically caused by:
A typical error value, returned by an invalid rule, can be:
Functions that check for an error value are:
An error string is a string in an expected format.
Error strings are formatted as:
#TEXTSuffix[Optional Details]
Where:
# - The error string must always start with the # (hash) symbol.
TEXT - The error string TEXT must immediately follow the # symbol (no space) and be all uppercase letters (no numbers, spaces or characters).
Suffix - Is either a ! or ? character and must immediately follow the TEXT (no space).
[Optional Details] - Further details about the error string must follow the suffix with a space.
A typical error string can be:
Caused by database connection issues from a DBExecute, DbQuery, QueryData or QueryDataValues function.
This could be the value of a cell in a Table, returned as a string, by a Table function (such as GetTableValue).
This does not apply to a cell in a Calculation Table, where in invalid rule has been applied.
This scenario will require a function that checks for an error value:
Functions that check for an error string are:
Knowledge Base Article Ref: | KB23071901 |
---|