NetTalk Central

Author Topic: Update parent after child updated  (Read 2940 times)

broche

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Email
Update parent after child updated
« on: February 12, 2015, 12:42:10 PM »
CL 9.1
NT 8.34

Browse on a form
The form for that browse has a child table on a tab
All works fine
When I add a record to the child table I want to set a field called 'newnotes' in the parent so I can indicate this on the main browse
Have tried Post Update on the Child Form
Have tried setting a Session value then looking for this on the save of the parent form but nothing seems to work.

Any ideas appreciated
Thanks.
Brian

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Update parent after child updated
« Reply #1 on: February 13, 2015, 01:41:52 AM »
Hi Brian,

The answer might be simple - but I'm not sure that I'm understanding the question correctly.

the short answer is that on the form, the Browse is included as a "Procedure" Form field type. The "Client side" tab for that form field still work - so when the Procedure changes the fields in the Reset List are updated.

cheers
Bruce

broche

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Email
Re: Update parent after child updated
« Reply #2 on: February 15, 2015, 10:18:20 AM »
That was it Bruce, thanks.
I keep forgetting that the browse can act like a field on a form and to use that Reset list, it's very handy.

Brian.
Brian