Quote Originally Posted by si_the_geek
Ah yes, good point - but it should be done when the form unloads (if the array is declared within the form), or at the end of the sub/function if it is declared locally.

edit: I think that's what I mean... I'm feeling a bit tired/confused right now!
I don't think it needs to be done on either condition. In fact I think the only time you need to do it is if you want to clear the array in preparation for it's resuse.