Please provide a new download link/URL, it doesn't appear to work.
However there is one reason why it could be saving just one block, you need to do the saving action for each block objects, so a for each loop needs to be used. This is usually the case when an action is done just for one object correctly in an event, and what you are describing basically requires the use of a for each loop.
I have updated the download link. ( ... arrays.rar)
I have currently used a for each block loop, and its creating the right amount of data in the table, it's just not storing the right numbers in the array.
Also I would add screen shots, but I am not sure how to add them to the scirra forums, do I have to upload them some where else and link it?