📚 SAP Business One SDK Help

GetFormByTypeAndCount Method
See Also  Example
Type
The form type
Count
The instance of the specified form type

Description

Deprecated in UI API 2004.
The method is supported for backward compatibility in the next two releases. Use GetForm instead.

Syntax

Visual Basic
Public Function GetFormByTypeAndCount( _
   ByVal Type As Long, _
   ByVal Count As Long _
) As Form

Parameters

Type
The form type
Count
The instance of the specified form type

Example

(Visual Basic)Copy Code
Dim oForm As SAPbouiCOM.Form

'get the i (one based) form of type MY_FORM_TYPE
Set oForm = oApplication.Forms.GetFormByTypeAndCount(MY_FORM_TYPE, i)

See Also