Tiemo and Klaus, thanks a lot for your excellent suggestions. I have a clear idea now of how to do this in a safe way. It's funny how one stumbles onto unsuspected stuff with the first 'real' application that I am making. Learning a lot :-) Thanks , Beat Cornaz