Next method (WinStudio scripts)
Applies To
IWSIDOCollection interface
Definition
Goes to the next object in a specified IDO collection and returns a Boolean value indicating whether this navigation was successful.
Syntax
object.Next( )
Part | Description |
object | Required. A reference to a valid IDO collection object. |
Remarks
A return value of:
- TRUE indicates that the collection was navigated to the next object.
- If there was no next object and if the New operation is enabled for the form, indicates that this method created a new object and navigated to it.
- FALSE indicates that the collection was not navigated to the next object.
- If there was no next object and if the New operation is disabled for the form, indicates that this method did not create a new object.
Example
Sub Main() Dim bIsNext As String bIsNext = ThisForm.PrimaryIDOCollection.Next().ToString Application.ShowMessage(bIsNext) End Sub