hey! that was it. I put the asignment into the funtion and it works fine. good to know... i think this very same problem has been giving me some headaches somewhere else.
THANKS!!!