mud2
10-12-2007, 09:07 PM
I have a Structure:
Type Film_Data
ID As String
Notes As String
Location As String
End Type
Dim This_Film_Data As Film_Data
Sub Set_Film_Data()
With This_Film_Data
.ID = 123456
.Notes = "Moonstone, Waves, Rose"
.Location = "Box1"
End With
I want to refer to the Film_Data members by thier position in the type. can I ?
This_Film_Data(1) generates an error..."...looking for an arrat..." ??
Type Film_Data
ID As String
Notes As String
Location As String
End Type
Dim This_Film_Data As Film_Data
Sub Set_Film_Data()
With This_Film_Data
.ID = 123456
.Notes = "Moonstone, Waves, Rose"
.Location = "Box1"
End With
I want to refer to the Film_Data members by thier position in the type. can I ?
This_Film_Data(1) generates an error..."...looking for an arrat..." ??