📚 SAP Business One SDK Help

Select Method
See Also 
Index

The value to be selected. Select the value by supplying one of the following:

  • The index of the valid value, 0-based (long integer)
  • The value to be selected or its description (string) 
SearchKey

The search type (default is by value)

Description

Simulates a user selection in the combo box.

This method, if successful, triggers an item event of type et_COMBO_SELECT.

Syntax

Visual Basic
Public Sub Select( _
   ByVal Index As Variant, _
   Optional ByVal SearchKey As BoSearchKey = psk_ByValue _
) 

Parameters

Index

The value to be selected. Select the value by supplying one of the following:

  • The index of the valid value, 0-based (long integer)
  • The value to be selected or its description (string) 
SearchKey
ValueDescription
psk_ByValueBy item value
psk_ByDescriptionBy item description
psk_IndexBy item index

The search type (default is by value)

See Also