ValueTreeRowCollection.Find
Syntax:
Parameters:
<Value> (required)
Sought value.
<Columns> (optional)
List of comma-separated names of the columns to be searched.
If the parameter is omitted, then all value tree columns are searched.
Default value: Empty string.
<IncludeSubordinates> (optional)
Defines whether the subordinate collection rows (if there are any) will be included in the search. True - subordinate collection rows are included.
Default value: False.
Returned value:
Row containing the sought value. If a value is not found, the Undefined value is returned.
Description:
Availability:
Note:
Example:
FoundString = ContentRows.Find(CurExpense, "Expense"); If FoundString = Undefined Then DoMessageBox("Expense not found!"); Else Count = FoundString.Norm; EndIf; |