Reference > Functions reference > Get functions > Get(ActiveSelectionStart)
 
Get(ActiveSelectionStart)
Purpose 
Returns a number representing the starting character of the selected text.
Format 
Get(ActiveSelectionStart)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 7.0
Description 
Returns the cursor's current position if no text is selected.
If there are multiple windows open in the current database file, a result is returned for only the foreground window.
Notes 
In FileMaker WebDirect:
Get(ActiveSelectionStart) returns a value only if the selected text is in a field that displays as an edit box.
If Get(ActiveSelectionStart) is performed in a script that was run by the OnObjectEnter script trigger, Get(ActiveSelectionStart) returns a value one larger than the length of the field’s contents.
In FileMaker Go, this function may return an inaccurate value if the selected text is in a concealed edit box.
Examples 
Returns 5 when the selection starts at character 5.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas