ValueTable.Find
Syntax:
Parameters:
<Value> (required)
Sought value.
<Columns> (optional)
List of column names, separated by commas, in which you want to search.
If the parameter is not specified, search will be performed across all values table.
Default value: Empty string.
Returned value:
Row containing the searched value. If a value is not found, the Undefined value is returned.
Description:
Availability:
Note:
Example:
FoundString = PriceTable.Find(Selection, "Article"); If FoundString = Undefined Then DoMessageBox("Article not found!"); Else ArticleCost = FoundString.Cost; EndIf; |