Ok sorry I should read better.

If there are no 1030 events the array will be empty so you might want to add a check to see If it is empty before using one or more of the elements in the array.

 Code:
If Ubound($events_1030) <> "-1"
	;do you stuff
EndIf
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.