NetTalk Central

Author Topic: Second child browse, Locator/Navigation buttons showing, should be hidden  (Read 3345 times)

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Hi Bruce,

NT 8.47
Clarion 10 (latest)

Attached is the "Accounts 31" example app+dct files.

Changes:

1. Added the Invoice browse as a child to the Customer browse.

Replicate:

1. On the Customer browse, click Insert.
2. InvoiceItem (child to Invoice browse) browse shows Locator and Navigation fields when they should be hidden.

Let me know if there's anything else you need.

Screenshot attached.

[attachment deleted by admin]
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
You're mixing children with popups, and so it's starts getting ver complicated from a naming point of view.
Specifically;

UpdateCustomers has an Invoices browse;
The Invoices Browse has an Invoices Form
the Invoices Form has a Line Items browse

But also
The UpdateCustomers has a _child_ of InvoiceBrowse
So now you have two InvoiceBrowse on the same page, and the code finds it hard to tell them apart.

So, if you are going to popup route, either take the children off the form (ie no Invoices browse on the customers form) or remove the child (no Invoice browse child of Browse Customers...)

cheers
Bruce

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Bruce, I put it in an example because it's helpful for you.

But please believe me, this happened in my system that has all unique procedures, one then one then one, all different names.

It's real.

And it's not popups that are the problem. It's the navigation/update buttons that appear on an empty browse, the second child child one.

Stu
Cheers,

Stu Andrews