I don’t think so, no: the form isn’t visible from the component. I have worked round this by having a method in the host, callable by the component, which opens a specified form (for my purposes, using DIALOG, but I can’t see why ADD RECORD shouldn’t be OK as well). It works.
Jeremy > On 17 Jan 2019, at 05:49, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have been reading through the docs on components, and I am not clear. > > If I have a component, and I want to add a record to a host table, > using an entry form defined in the host system. Can I do the following > in the component, and expect it to work? > > > $Table:=$1 // pointer to table to add a record > $Input_Form:=$2 // entry form to use, text > > FORM SET INPUT($Table->;$input_Form) > ADD RECORD($Table->) > > Thanks > Chip ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************