Hello, I found the error .... and it's of course made by myself. In the example I posted FIRST(query4) is be computed right, but in case of query4 also FIRST(query5) is computed and therefore the result of FIRST(query5) is saved in first and not FIRST(query4) - it's overwritten. Cu, Uli