I am not sure what you mean. Both lines of code seem fine. What is not working? Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Storing-and-object-reference-in-a-var-tp4711908p4711919.html Sent from the Revolution - User mailing list archive at Nabble.com.