A
Arnold Klapheck
I defined a dynamic array as a programmer defined type that contains a
dynamic array of type Date as below:
Public Type Material
MatNum As Integer
MatDate() As Date
End Type
Public matType() As Material
when I go to redim them as such:
' no problem here
ReDim matType(1 To MaxMaterials)
' error invalid qualifier "matType." if I leave it out, does not create
an array
ReDim matType.MatDate(1 To MaxArraySize)
any ideas how to redim the MatDate?
dynamic array of type Date as below:
Public Type Material
MatNum As Integer
MatDate() As Date
End Type
Public matType() As Material
when I go to redim them as such:
' no problem here
ReDim matType(1 To MaxMaterials)
' error invalid qualifier "matType." if I leave it out, does not create
an array
ReDim matType.MatDate(1 To MaxArraySize)
any ideas how to redim the MatDate?