NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Robert Iliuta on October 09, 2018, 02:32:29 AM

Title: Refresh browse row when I "Cancel" popup form
Post by: Robert Iliuta on October 09, 2018, 02:32:29 AM
Hallo!

I have an invoice popup form with a browse "Invoice Details".
Sometimes client open the form in change mode, delete some records from "Invoice Details" browse and then Close the popup form.
The invoice browse will not refresh with the current total. (Total calculate when press cancel btn but not reflect on browse)

How can I force the browse to refresh when I close the popup form?

*If he press Save btn the browse will refresh.
What is the code to refresh the browse when I press Save btn? :-)

Thank you!
Robert
Title: Re: Refresh browse row when I "Cancel" popup form
Post by: DonRidley on October 10, 2018, 01:41:48 AM
If I'm folowing you correctly, look for the OnGainFocus Routine in the calling procedure. 

Then in the OnGainFocus embed put something like:  Do Refresh::YourBrowse

You want to call the Refresh routine for the browse in question when the calling page gains focus.

Good luck,

Don