NetTalk Central

Author Topic: NT7 ParentChild Browse Major Bug  (Read 5110 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
NT7 ParentChild Browse Major Bug
« on: January 25, 2013, 12:56:17 AM »
Bruce as discussed yesterday. Unfortunately not fixed in 703
To duplicate
Run example ParentChildBrowse(25)
Sort on customer
Click the LAST button
Highlight customer Pays and insert a line item
On Saving the Line item  the browse reverts to the InvoiceID sort order instead of Customer sort order and record1 customer OCS is the selected record rather than record5 customer Pays.
This is a major problem for me in that most of my applications are of the Order/line Item or Trip/Waybill type and explaining to the users that they must reselect the correct parent record for each new child record just isn't on.
I have just converted these apps over the New Year period from NT5 or NT6 and have subsequently added and changed some code so reverting is going to be both a pain and costly.

Is there any code I can add in the meantime to sort this issue out?
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: NT7 ParentChild Browse Major Bug
« Reply #1 on: January 25, 2013, 04:46:45 AM »
Hi Terry,

yes the problem is pretty close to top of my list. While I understand why it's happening the fix is not obvious, so it didn't make it into the 7.03 build.

It's only going to happen when the form is called in page mode. So a simple work-around for now is to call the form in popup mode. That said it is something I am working on.

cheers
Bruce

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: NT7 ParentChild Browse Major Bug
« Reply #2 on: January 26, 2013, 10:52:35 AM »
Hi Bruce
Bad news. Putting the child form into popup mode doesn't work.
I imagine the problem is that this will work fine if I was was inserting/changing on the parent form but inserting on the child form has no effect on the problem. It still reverts to the id order and the highlighted browse record to the first record in the parent table.
As a (lot of work) workaround I am going to have to add the child browse to a tab on the parent form since this seems to be the only way to hold the relationship.
Please llok at this as soon as possible as this must be a major issue to anyone who has a parent/child relationship where multiple records are added at one time to the same parent record.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: NT7 ParentChild Browse Major Bug
« Reply #3 on: January 27, 2013, 09:45:05 PM »
yes.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: NT7 ParentChild Browse Major Bug
« Reply #4 on: January 28, 2013, 10:06:16 PM »
fixed in 7.04

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: NT7 ParentChild Browse Major Bug
« Reply #5 on: January 28, 2013, 11:04:35 PM »
Thanks :D
When do you expect to release it?
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: NT7 ParentChild Browse Major Bug
« Reply #6 on: January 28, 2013, 11:24:05 PM »
oh, I don't know.... I have the fix working internally here, so the pressure from Rob is off... I'm thinking maybe next week sometime.... ?

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: NT7 ParentChild Browse Major Bug
« Reply #7 on: January 29, 2013, 12:08:35 AM »
 That's so Microsoftish  :D
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: NT7 ParentChild Browse Major Bug
« Reply #8 on: January 29, 2013, 03:05:48 AM »
7.04 is up

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: NT7 ParentChild Browse Major Bug
« Reply #9 on: January 29, 2013, 07:34:49 PM »
Thanks Bruce. Works fine.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186