📚 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 index)

Description

Simulates a user selection in the combo box.

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 index)

See Also