| TypeCount Property | |
| See AlsoĀ |
The numberĀ of openĀ formsĀ of the same type.
Read-only property
| Visual Basic |
|---|
Public Property TypeCount() As Long |
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.