šŸ“š SAP Business One SDK Help

TypeCount Property
See AlsoĀ 

Description

The numberĀ of openĀ formsĀ of the same type.

Property type

Read-only property

Syntax

Visual Basic
Public Property TypeCount() As Long

Remarks

Each SAP Business One form has a type, which is a unique ID for the form.Ā For example, the type of the Purchase Order form is 142.

Each form can be open multiple times, and theĀ application keeps a counter for each form type of the number of open instances. To get the number of forms open of the same type,Ā use Form.TypeCount. Form objects pointing to different instances of the same type formĀ have the same value in the TypeCount field.

To access a specific instance of a specific form type, use the Forms.GetForm method.

See Also