Finds the last entry in the index that partially matches the passed key.
Syntax
bValue = object.brFindLast(sKey, [vsIId]) |
Parameters
Parameter |
Description |
bValue |
The return value is a Boolean data type that is False only if no match to sKey is found in the index. |
object |
An object variable that represents a clsD3Index object. |
sKey |
A String containing the search string. |
vsIId |
Optional. A Variant (String subtype) containing the item-id of the last D3 item whose index matches sKey. This is an output-only parameter that returns the same result as the brIndexId property. |
Remarks
If no match to sKey is found in the index, then the return value is False. The item-id returned is that of the next sequential entry in the index, unless this is past the end of the index.
If sKey is null, then the last entry in the index is returned. This causes the system to search for the last key that partially matches a null string, causing traversal of the entire index.
FlashBASIC Reference
key - with the 'l' operator