I tested the firing sequence of On Load and got this:
1) object method of an object on subform
2) form method of the subform
3) object method of the subform container on the parent form
4) form method of the parent form
We tried doing the GOTO OBJECT call in each of these places, using both forms
of the call
GOTO OBJECT([estimate]job_name)
GOTO OBJECT (*;”jobName”)
When those 8 tests failed, we moved to a method and calling that method using
EXECUTE METHOD IN SUBFORM
Again testing calling the method in all 4 places, and again using the other way
of calling GOTO OBJECT.
Totally at a loss. The conflicting notes about GOTO OBJECT in the docs seem to
point toward it just doesn’t work.
Randy
----------------------------------------------------------------------
Randy Jaynes
Senior Programmer and Customer Support
http://printpoint.com • 845.687.3741 • PrintPoint, Inc • 57 Ludlow Lane •
Palisades, NY 10964
> On Nov 15, 2017, at 2:27 PM, Jeremy Roussak via 4D_Tech
> <[email protected]> wrote:
>
> How about putting the GOTO OBJECT in the On load phase of the subform’s form
> method?
**********************************************************************
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]
**********************************************************************