Thanks for the quick reply. I've changed the code in the example as you said and with validation it works like a charm. Somehow it does not measures accurately in the app where I actually need it, but that problem obviously resides somewhere else.
Cheers Masi

