NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on January 25, 2013, 12:56:17 AM

Title: NT7 ParentChild Browse Major Bug
Post by: terryd 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?
Title: Re: NT7 ParentChild Browse Major Bug
Post by: Bruce 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
Title: Re: NT7 ParentChild Browse Major Bug
Post by: terryd 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.
Title: Re: NT7 ParentChild Browse Major Bug
Post by: Bruce on January 27, 2013, 09:45:05 PM
yes.
Title: Re: NT7 ParentChild Browse Major Bug
Post by: Bruce on January 28, 2013, 10:06:16 PM
fixed in 7.04
Title: Re: NT7 ParentChild Browse Major Bug
Post by: terryd on January 28, 2013, 11:04:35 PM
Thanks :D
When do you expect to release it?
Title: Re: NT7 ParentChild Browse Major Bug
Post by: Bruce 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.... ?
Title: Re: NT7 ParentChild Browse Major Bug
Post by: terryd on January 29, 2013, 12:08:35 AM
 That's so Microsoftish  :D
Title: Re: NT7 ParentChild Browse Major Bug
Post by: Bruce on January 29, 2013, 03:05:48 AM
7.04 is up
Title: Re: NT7 ParentChild Browse Major Bug
Post by: terryd on January 29, 2013, 07:34:49 PM
Thanks Bruce. Works fine.