For two forms to exchange information, one form must be the owner form and the other one must be an instance of another form included in it, in other words a member form. Therefore:

SET COM(#frmdetail) formowner(#com_owner)
&<img src="../resources/images/opentoc-dark.png" title="Open Contents List" border="0"&>