NetTalk Central

Author Topic: 2 Browses. 1 Form. Doesn't work anymore.  (Read 5196 times)

spot1701

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
2 Browses. 1 Form. Doesn't work anymore.
« on: December 17, 2008, 04:55:13 AM »
PR24.

I have a form. On that form there are two browses. Both browses are seperate procedures, but both are browsing the same file.

When you press change on either of the browses the update form shows the wrong record. (Usually the first record in the second browse.)

This used to work fine, but doesn't anymore.
Thanks

Bryan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: 2 Browses. 1 Form. Doesn't work anymore.
« Reply #1 on: December 17, 2008, 11:40:41 PM »
Hi Bryan,

I'll look into this.

I presume you're referring to a change button _under_ the browse. I would expect an "inline" change button probably works ok - and that might be the best work-around for you in the short term.

Cheers
Bruce


spot1701

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Re: 2 Browses. 1 Form. Doesn't work anymore.
« Reply #2 on: December 18, 2008, 01:10:03 AM »
No. Inline or under the browse. Both change buttons exhibit the same behaviour.
Thanks

Bryan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: 2 Browses. 1 Form. Doesn't work anymore.
« Reply #3 on: December 21, 2008, 10:06:53 PM »
Thanks Bryan,

sorted for today's build. (PR25)
Cheer
Bruce

spot1701

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Re: 2 Browses. 1 Form. Doesn't work anymore.
« Reply #4 on: January 22, 2009, 07:03:16 AM »
Er. PR29. Still broken. Or maybe re-broken?
Thanks

Bryan

Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: 2 Browses. 1 Form. Doesn't work anymore.
« Reply #5 on: January 22, 2009, 12:10:27 PM »
I have noticed something related. i use both the change  button and the link to change on a browse (my second browse which links to the same file is readonly list )

if i use the link, Nettalk does a GET and passes values cleanly, all is fine
if i use the Change button(inline) Nettalk does a POST
here is partial of what POSTs
 
Code: [Select]
&BrwShipSum%3AFormName=UpdProjectDeal_frm
&bFile=ShipSum
&bKey=SHP%3AKEY_OrderNbr
&IDField=0
&SHP__OrderNbr=20009-01
&BrwTransfers%3ANoForm=1
&BrwTransfers%3AFormName=UpdProjectDeal_frm
&bFile=ShipSum
&bKey=SHP%3AKEY_OrderNbr
&IDField=0
&SHP__OrderNbr=                            <=== seems to cause the grief
&pressedButton=change_btn

note that the second SHP__OrderNbr=
assignmnet is what ends up in my update form,
in this example its empty, but if it the 2nd browse has content then a potentiallly different Order will be accessed in the update forrm from the one intended. 

not practical in all cases but i guess if i had a different unique key for each browse the problem would go away?

and I dunno if the the %3a's  should be __ or not?