Usually, the user knows the names of the fields on an Ispec that are to be used in the client application. However, there might be times when it is useful to be able to determine the names of all the fields on the current Ispec.
The following code is an example of retrieving all the field names on an Ispec and displaying them to an end user:
Dim FieldList As Variant Dim iFieldNo As Integer ’Get list of fields on this Ispec FieldList = mvarCurrentIspec.getFieldList() ’Loop thru all names If IsArray(FieldList) Then For iFieldNo = 0 To UBound(FieldList) MsgBox FieldList(iFieldNo) Next iFieldNo End If