Code im using is

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()
then to try and access the pupil name im using

MsgBox(ListData.list(ListData.count).age)
it give me a error saying that the last line is not set to a instance of the object?

any help would be great on how i can update/desplay the name,age etc , cheers!