IDataField.Next property
Next
IDataField Next { get; }
Referenced types: IDataField
Gets the next DataField defined in the Project.
A Project stores a list of DataField objects. You can use this method to iterate through the list. To retrieve the first DataField in the Project see Project.FirstDataField
Returns
The next DataField object in the list or null
Sample: Iterate DataFields in a Stand-Alone FormLayout
' Retrieve the global Project '
' A stand-alone FormLayout contains only the global Project, the global Project holds all DataField definitions '
Set project = repository.GlobalProject
' Retrieve the first DataField '
Set datafield = project.FirstDataField
While Not (datafield Is Nothing)
' Your code follows '
MsgBox datafield.Name
' Get the next DataField '
Set datafield = datafield.Next
Wend