Hi @morismonk
this is code in ContactP.
form1.Main.STFrontPage.Contact.AddCont.ContactT.Row1.ContactP::calculate - (FormCalc, client)
this.rawValue = this.parent.parent.parent.instanceIndex +1;
I then have an add button in the same ContactT table that with this code:
this.resolveNode('Main.STFrontPage.Contact._AddCont').addInstance(this.parent.index);
Now I need to display the value of the last instance of AddCont.ContactT.Row1.ContactP in the following field:
Main.DATable.Accom.Table4.Row1.Guests
Hi @ianflem
After your existing line
this.resolveNode('Main.STFrontPage.Contact._AddCont').addInstance(this.parent.index);
does adding the following work for you? (my forms designer is "broken" at the moment)
this.resolveNode('Main.DATable.Accom.Table1.Row1.Guests').rawValue = Main.STFrontPage.Contact._AddCont.count;p.s. I also noticed "calculate - (FormCalc, client)" and not "::calculate - (JavaScript, client)"
Cheers