Illegal attempt to resize random dynamic array

In reply to dave_59:

Hi Richedelman,
Thanks for the information, that solved my problem.