Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- List: rtecalls
- rtecall("alalnum") function
- rtecall("counter") function
- rtecall("datemake") function
- rtecall("escstr") function
- rtecall("filecopy") function
- rtecall("fileinit") function
- rtecall("filldate") function
- rtecall("getnumber") function
- rtecall("getprimary") function
- rtecall("getrecord") function
- rtecall("getunique") function
- rtecall("isalnum") function
- rtecall("isalpha") function
- rtecall("islower") function
- rtecall("isnumeric") function
- rtecall("isupper") function
- rtecall("log") function
- rtecall("passchange") function
- rtecall("policycheck") function
- rtecall("qbeform") function
- rtecall("recdupl") function
- rtecall("recordexists") function
- rtecall("refresh") function
- rtecall("resetnotebook") function
- rtecall("rfirst") function
- rtecall("rgoto") function
- rtecall("rid") function
- rtecall("scantable") function
- rtecall ("select") function
- rtecall ("setdebug") function
- rtecall("sort") function
- rtecall("statusupdate") function
- rtecall("transtart") function
- rtecall("transtop") function
- rtecall("trigger") function
rtecall("escstr") function
A RAD function that precedes special characters in a string with an escape character. This function is rarely needed. The only situation in which a string needs the escape characters added is when that string is to be fed back into Service Manager. Service Manager treats any data between quotes as a string. If the data contains a quote, then that quote must be escaped with a backslash escape character (\) to ensure that the quote is treated as data instead of the end of the string. Since the backslash is used as the escape character, any occurrence of a backslash in the data must also be escaped.
An example of when this function might be needed is when a RAD program is constructing a query to retrieve a record based on data from another record. In this case, the contact name in an incident retrieves the contact information from the contacts table. The RAD program might construct a query as follows:
$L.query = "name="+contact.name in $file
This query will not function properly if the contact.name
from $file
contains a quote or a backslash
character because these characters are not properly escaped and will cause the parse of the query to end
prematurely. The correct example is as follows:
$L.temp = contact.name in $file $L.ret = rtecall("escstr",$L.rc,$L.temp) $L.query="name="+$L.temp
Function
rtecall("escstr")
Format
rtecall($L.fnc.name, $L.rc, $L.str)
Parameters
The following parameters are valid for the rtecall("escstr") function:
Parameter | Data type | Description |
---|---|---|
$L.fnc.name | String | Name of the sub-function to call, in this case "escstr". |
$L.rc | Number | Provides a more detailed return code. |
$L.str | String | The string to be modified. |
Example
Before the call to "escstr"
, $L.str
contains c:\dir\sub.
$L.rc=0 $L.ret=rtecall("escstr", $L.rc, $L.str)
After the rtecall, $L.str
contains the following string:
c:\\dir\\sub. The backslash escape character (\) is now inserted in front of the existing backslash.