Code im using is
then to try and access the pupil name im usingQuote:
Public Structure pupil
Dim name As String
Dim age As Int16
Dim id As Int16
Dim pupilClass As String
End Structure
Public Structure pupilList
Dim list() As pupil
Dim count
End Structure
Dim ListData As New pupilList()
it give me a error saying that the last line is not set to a instance of the object?Quote:
MsgBox(ListData.list(ListData.count).age)
any help would be great on how i can update/desplay the name,age etc , cheers!
