NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on May 14, 2021, 08:46:03 PM

Title: Child popup form breaks page
Post by: Niels Larsen 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
Title: Re: Child popup form breaks page
Post by: Bruce 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
Title: Re: Child popup form breaks page
Post by: Niels Larsen 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.

Title: Re: Child popup form breaks page
Post by: Niels Larsen 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
Title: Re: Child popup form breaks page
Post by: Niels Larsen on May 27, 2021, 10:08:51 PM
Up
Title: Re: Child popup form breaks page
Post by: Bruce 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

Title: Re: Child popup form breaks page
Post by: Niels Larsen 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.