NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: markster on July 05, 2013, 03:00:28 PM

Title: 7.14 error: Browse standard Insert button disappears after EIP update
Post by: markster on July 05, 2013, 03:00:28 PM
Take any browse procedure with an EIP field in it as well as a standard Insert button (ie, the Insert button ticked off on the Form tab so that it appears below the browse as normal): if you make a change to the EIP field value, the Insert button disappears.

It is easy to reproduce. I just compiled the Accounts example app, went to the Invoice screen, and edited either the EIP product quantity or EIP amount in the upper right hand child browse. Both the Insert and Change button below the child browse disappear.

Regards,

Mark
Title: Re: 7.14 error: Browse standard Insert button disappears after EIP update
Post by: Bruce on July 09, 2013, 01:17:55 AM
thanks - fixed for 7.15.

Incidentally that example contained some embed code in BrowseLineItems;

! this is an example of refreshing a parent, when the child changes
  p_web.setValue('_ParentProc_','')
  p_web.DeleteValue('_EIPClm_')
  BrowseInvoices(p_web)


in 2 places.
In 7.14 and later this code is now obsolete - the event is propagated up to the parent without any embed code intervention.

Cheers
Bruce