I have to read more about the PDEF functions before using it and I don't know how much I have to program. It looks like a complicated way for me, but thanks for the suggestions. Cheers Berny