You are right... it works on the fly... I am not sure why it isnt working in a DB scenario...