Many thanks in alphabetical order ;\) to Glenn, Richard an Witto.
Any of your approaches has its advantages depending on the situation. I really appreciate your efforts and learned a lot. My problem is the lack of colleagues doing kix, which might influence my scripting due to resulting lack of exchange of ideas. I'll try to use the forums more frequently to reduce my handicap.
Regards, Roman