Ok…so HIGHLIGHT TEXT docs say it doesn’t work in subforms, so I guess that’s out.
But it seems I still can’t get GOTO OBJECT to work in a subform either. I’m so sad. :-( Going to test with v16R4 just in case. Randy ---------------------------------------------------------------------- Randy Jaynes Senior Programmer and Customer Support http://printpoint.com <http://printpoint.com/> • 845.687.3741 • PrintPoint, Inc • 57 Ludlow Lane • Palisades, NY 10964 > On Nov 15, 2017, at 12:34 PM, Randy Jaynes <[email protected] > <mailto:[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 > <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 > <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 <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] **********************************************************************

