NetTalk Central

Author Topic: How to refresh a child from a Button  (Read 2504 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
How to refresh a child from a Button
« on: April 16, 2013, 10:07:57 AM »
Ok, I began with my shopping cart app.
I have a Articles browse with a button (Other) in the las column.
This button, on the server side code, has the code to add a record to the cart
The browse cart is child of the Articles browse but when I add the record with de button the cart browse is not refreshed, better said... it is refreshed before my code and not after and theres no options to refresh a child from it.
How can I do it?

To clarify you can take a look at the attached image, sory the spanish.
A is the "Pedir" (Ask) button wich is an "Other" button which adds the records seen in B
The B browse which is Child of the A browse gets reset before the record is created.

Thanks again


[attachment deleted by admin]
« Last Edit: April 16, 2013, 11:46:08 AM by michelis »
-----------
Regards
Alberto

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: How to refresh a child from a Button
« Reply #1 on: April 16, 2013, 03:43:41 PM »
Have a look at the accounts example - it does a similar thing. I think if you add childproc(p_web) after your insert code it will refresh.