NetTalk Central

Author Topic: Child popup form breaks page  (Read 4409 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Child popup form breaks page
« on: May 14, 2021, 08:46:03 PM »
Hi Bruce

I have an APP where I have a popup form with a browse, with a child, with a child.
Child popup form number 2 and number 3 breaks the page.
I have recreated it in attached example.
Can you see what I'm doing wrong?
NT 12.17

Regards Niels
« Last Edit: May 14, 2021, 08:56:34 PM by Niels Larsen »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Child popup form breaks page
« Reply #1 on: May 16, 2021, 11:26:12 PM »
I've got the example running, but no idea what to do to "break" it, and also no idea what "break" even means? I mean, what should I be looking for?

Cheers
Bruce

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Child popup form breaks page
« Reply #2 on: May 16, 2021, 11:48:25 PM »
Sorry for the lack of explanation.
If you insert a record in child 1 or 2, the child browse won't be updated and "Insert" will remain disabled.


Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Child popup form breaks page
« Reply #3 on: May 21, 2021, 02:46:18 AM »
Hi Bruce

Have you tried if you can see if it's me doing something wrong or?

/Niels

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Child popup form breaks page
« Reply #4 on: May 27, 2021, 10:08:51 PM »
Up

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Child popup form breaks page
« Reply #5 on: May 31, 2021, 01:43:19 AM »
Hi Niels,

Yeah, I've been looking at it, and I can see what's going on, and I may be able to fix it, but...

In a more conceptual sense I'm wondering about the place of "browse children". The whole concept on a browse having children makes the browse into a container, and the browse doesn't make a good container (that's the Form's job). So there are going to be lots of edge cases where the child-browse approach will struggle, while the Memory-form-contains-multiple-browses approach will work better.

In the longer term I may get to deprecating the "children" approach - it adds a lot of complexity to the architecture of a page, without adding a lot of benefit. Food for thought.

cheers
Bruce


Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Child popup form breaks page
« Reply #6 on: June 02, 2021, 11:15:43 PM »
Hi Bruce

I understand your point. It was just a quick way to make a "matrix".
I have no problem moving it to a memory form.

Thanks for the feedback.