Hi,
If you're filling the elements sequentially, then the only way is to have a function to loop through - returning the next empty element.
Easier to keep a count - methinks.
Regards,
Darrylle "Never argue with an idiot, he'll bring you down to his level - then beat you with experience." darrylles@totalise.co.uk