in reply to Get value from object

You probably should be using a method to access a field of an object (unless you are actually trying to write that method).
Bill