in reply to Returning Hashes

Both of you were right I forgot my \ before the %dbReturn at the end of the routine. Everything works as it should now. Have yourselves a great weekend!