How about putting the GOTO OBJECT in the On load phase of the subform’s form method?
Jeremy Jeremy Roussak [email protected] > On 15 Nov 2017, at 17:34, Randy Jaynes via 4D_Tech <[email protected]> > wrote: > > Has anyone figured out how go to a specific object in a subform when opening > the parent form (currently in v15.4 HF3)? > > The docs for Page Subforms > (http://doc.4d.com/4Dv15/4D/15.4/Page-subforms.300-3285433.en.html) says > > The GOTO OBJECT command looks for the destination object in the parent > form even if it is executed from a subform. > > While the docs for GOTO OBJECT > (http://doc.4d.com/4Dv15/4D/15.5/GOTO-OBJECT.301-3577086.en.html) says: > > The GOTO OBJECT command can be used in the context of a subform. When it is > called from a subform, it first looks for the object in the subform, then, if > the search does not find anything there, it extends the search to objects of > the parent form. > > I’ve tried calling a method using EXECUTE METHOD IN SUBFORM which does a GOTO > OBJECT followed by HIGHLIGHT TEXT, but nothing I do ever leaves me in the > object in the subform that I want. > > The entry order on the subform doesn’t matter either. > > The idea here is that I open the parent form and I want to be sitting in the > first field on the subform with all of its text highlighted. > > I (3 of us together actually) cannot figure this one out. > > Any ideas? > > I’m going to convert a copy to v16R4 and test there to see if I’m crazy or > not. > > Thanks, > Randy > > ---------------------------------------------------------------------- > Randy Jaynes > Senior Programmer and Customer Support > > http://printpoint.com • 845.687.3741 • PrintPoint, Inc • 57 Ludlow Lane • > Palisades, NY 10964 > > > > > > > ********************************************************************** > 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] > ********************************************************************** ********************************************************************** 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] **********************************************************************

