The AddButton is on subform. So I am not sure what goes on. Should I be setting call subform container in the print form or the subform. Docs look like it should be in subform form method. Is this not the case and yes trace seems to not show anything anywhere
Regards Chuck ------------------------------------------------------------------------------------------------ Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmiller<AT SIGN>informed-solutions.com Brookline, MA 02446 USA Registered 4D Developer Providers of 4D and Sybase connectivity http://www.informed-solutions.com ------------------------------------------------------------------------------------------------ This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. > On Jan 29, 2019, at 8:47 PM, Kirk Brooks via 4D_Tech <[email protected]> > wrote: > > Have you traced the subform object to verify the code isn't running? I've > never really seen CALL SUBFORM CONTAINER not ping the parent object. > Also, the way you have described this "Addbutton" is on the parent form - > since the code will run in the context of the subform object on the parent > form. > > I guessing but it looks like you may want "Addbutton" to be on the subform > and only visible when it's possible to add a record to 'table' which is > displayed in the subform. I would handle that in the subform itself - where > you code would work fine. But is Addbutton is on the subform it won't do > anything called from the subform object. ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

