Hi PiterF,
thanks for your reply; I had a look, and you use the table twice. That's new to me, but seems very interesting...
Your query is not 100% what I have in mind, but it's really close ;).
I think I can use your query to get my output. If not, I'll be back in this forum :(.
Wim