Hi,
I have a listview in my form I need to populate with the selected feature record, my code fill all the field in one columns, I need to show only 5 columns in my listview. here is my code so far.
Regards
I have a listview in my form I need to populate with the selected feature record, my code fill all the field in one columns, I need to show only 5 columns in my listview. here is my code so far.
Code:
Dim nCols As Integer
nCols = pFeature.Fields.FieldCount
For i = 2 To nCols - 1
Me.Listsheet.Items.Add(pFeature.Fields.Field(i).Name)
Me.Listsheet.Items.Add(pFeature.Value(i))
Next