>PMFJI but if it aren't broken ...
>
>>Thanks, Craig. Do you think it's a good idea to slightly improve the code? E.g. I glanced at it yesterday and noticed the loop through array of relations. In our current database we have 252 relations (sic!) So my thought was that we can use ascan instead. But I don't know if it's worth the effort or the code is executed fast enough anyway.
Well, you should read the book
If it ain't broke... Break it by Robert j. Kriegel and Louis Patler ISBN 0-446-39359-2
Gregory