📚 SAP Business One SDK Help

BoSearchKey Enumeration
See Also 

Description

Indicates how the Select and SelectExclusive methods of the ComboBox object locates items within its valid values.

Members

MemberValueDescription
psk_ByValue0By item value
psk_ByDescription1By item description
psk_Index2By item index

Remarks

If by description is specified, the method returns the first value found (the description is not necessarily unique).

If by value is specified and no value is found, a search by description is automatically performed.  If by description is specified and no value is found, a search by value is automatically performed. In both cases, if the second search fails, an exception is thrown.

If by index is specified with a bad index, an exception is thrown. 

See Also