NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on April 16, 2013, 10:07:57 AM

Title: How to refresh a child from a Button
Post by: Alberto 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]
Title: Re: How to refresh a child from a Button
Post by: kevin plummer 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.