Hi Dan,
that did not solve my problem, because that was just a "surface error": I had it right in my own code, I just made a "typing error", when I copied it into here (cause i changed some names)...
Probably both ways should be good and working, but the 1st one should be something like this...