Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redimension an array within a user typed array

Status
Not open for further replies.

MacroManII

Programmer
Nov 14, 2002
22
US

How can I redimension the size of nQty, in the following
user defined array

Type UsageRecord
sPart As String * 5
bIsKIT As Boolean
sDesc As String * 30
nQTY(20) As Long
nDaysBooked As Integer
nTotal As Long
nMean As Double
nStdDev As Double
nShelfStock As Double
End Type

Dim deArray() as UsageRecord

Regards

MacroManII
 
ReDim dearray(index).nQTY(count)

Replace 'index' with element index that you want to change and replace' count' to whatever you want the size of array to be.



Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top