Hi all, thanks for all your answers. Is see that there are - as ususal - several ways to accomplish this. I decided to go for the way Frederik suggested, because it looked as the most straight forward method for that kind of data. Thanks again, ./Tom