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 |
|
JavaScript method: SCRecordList.getPosition()
This method returns the position of the last accessed record in the record list. If there are no records are in the SCRecordList, it returns -1. If there is at least one record and it has not been accessed, the position is set to the first element, which is position 0.
Syntax
SCRecordList.getPosition();
Arguments
There are no arguments for this method.
Return values
Last position of Datum accessed in record list.
Returns -1
if there are no records in the list.
Returns 0
if list is not yet or the first Datum is the last Datum accessed and the list contains at least one record.
Example
This example does the following:
- lists the location's position in a record list
- counts the records in the list
This example requires the following sample data:
- valid location(s)
- valid record list with at least one record
var x = new SCRecordList( 'location', new QueryCond('location.name', LIKE, 'a')); print("Total record in the list: " + x.getCount()); for (i in x ) { print(x[i].location_name + " is the " + x.getPosition() + " record in the record list." ); }