Boy, Logic-Gem is a great tool!
>Oh right! Logic error on my part (I've had a rough day) ;-)
>
>>Timothy,
>>Try changing
>>
>> DO WHILE aIsData(1) AND aIsData(2) AND aIsData(3)
>>
>>to
>>
>> DO WHILE aIsData(1) OR aIsData(2) OR aIsData(3)
>>
>>
>>This should give you the data from the files that have more data.