Hi John, Thanks for the idea. Unfortunately, it doesn’t work. The subform often doesn’t have the focus when the code is running.
Thanks anyway. -- Cannon Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 <[email protected]> <www.synergyfarmsolutions.com> > On Nov 9, 2016, at 1:23 PM, truegold <[email protected]> wrote: > > 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? > ********************************************************************** 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] **********************************************************************

