I have an array
Dim EPArray(1 To 9, 1 To 3, 2000 To 2003, 1 To 12, 1996 To 2003, 1 To 12, 1 To 5, 1 To 4) As Single
that loops through a file and collects the info. Well the array gets to large and give me a memory error. So I thought it would be best to use a counter and when it got to a certain number go into another process that dumps the arrays contents into another table. My problem is that I can't figure out how to start fresh with an empty array again. I have used Redim but it gave me an error about the array is already dimensioned. Then I tried Erase EPArray but there was info still in the array. I am using Win 00.
Does anyone have any suggestions?
Thanks
Dim EPArray(1 To 9, 1 To 3, 2000 To 2003, 1 To 12, 1996 To 2003, 1 To 12, 1 To 5, 1 To 4) As Single
that loops through a file and collects the info. Well the array gets to large and give me a memory error. So I thought it would be best to use a counter and when it got to a certain number go into another process that dumps the arrays contents into another table. My problem is that I can't figure out how to start fresh with an empty array again. I have used Redim but it gave me an error about the array is already dimensioned. Then I tried Erase EPArray but there was info still in the array. I am using Win 00.
Does anyone have any suggestions?
Thanks