CheckAllEntryItem - cSelectionSource
Checks whether the current item matches the search value
Type: Function
Return Data Type: Boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
| ByRef aValues | String[] | The values for the current item. For data-aware sources this is filled with the entry item values when the item matches. |
| sSearch | String | Search text to match. |
| bCase | Boolean | True to perform a case-sensitive match. |
| bFullText | Boolean | True to match the search text anywhere in the value, False to match from the start of the value. |
| bValidationTable | Boolean | True when checking validation table values instead of database entry item values. |
Syntax
Function CheckAllEntryItem ByRef String[] aValues String sSearch Boolean bCase Boolean bFullText Boolean bValidationTable Returns Boolean
Call Example
Get CheckAllEntryItem aValues sSearch bCase bFullText bValidationTable to BooleanVariable
Description
CheckAllEntryItem checks whether the current selection source item matches the supplied search value.
For data-aware sources, the function checks the fields registered in piaDataFiles and piaDataFields. If a match is found, aValues is filled with the unique field values for the item.
For validation table sources, the function checks the values already present in aValues.
Applications normally do not call this function directly. It is used internally while the selection source loads incremental, full-text and validation-table suggestions.
See Also
piaDataFiles | piaDataFields | pbFullText | pbCaseSensitive
Return Value
True if one of the checked values matches the search text.