Thanks for the fast response.
In my case it's exactly like John wrote. I have a relative located point and I need the Z expression from it, just to compare the z-value with an other value...
Is there any other solution for this kind of problem?
Thank you very much indeed!