Thank you for all your help. I apologize for the confusing code. Thanks again.
In reply to Re^4: Lexical scope by velocitymodel in thread Lexical scope by velocitymodel