After creating an object map for a systreeview control; Locate seems to find the object. But on closing and then trying to locate the Object again; TestPartner throws the error 'Unable to locate the object'. Although there has not been any change in the application or the entry; TestPartner is unable to locate the object any longer. Solution: This problem can occur with any control that uses the Label property. TestPartner throws the error 'Unable to locate the object', due to the label property that exists in the systreeview. The value for the label property comes from a different control within the same form. If you identify on the Systreeview control the label property is not a part of the sysTreeview properties. Hence, on creating an object map with Label as significant field; TestPartner is unable to enumerate the value of the label property, causing the error message to the thrown. Old KB# 10645
↧