NetTalk Central

Author Topic: 7.14 error: Browse standard Insert button disappears after EIP update  (Read 2154 times)

markster

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
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