I haven't looked at the code in some time, so I can't say what side effects the change would make.
>
>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.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer