Hi Cannon, Might something like:
$obj_ptr:=OBJECT Get pointer(Object current) // Points to the container itself $obj_Name:=OBJECT Get name(obj_ptr) // Name of the container Is this what you mean? John... > From: Cannon Smith <[email protected]> > Does anyone know how to get the object name of a subform in code when > executing within the context of the subform itself? I’m stumped. > > For example, say I have a form that has two identical subforms on it named > Sub1 and Sub2. When some code is executing within the context of Sub1, I want > to be able to know I’m in the context of “Sub1”. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

