NetTalk Central

Author Topic: Refresh browse row when I "Cancel" popup form  (Read 2377 times)

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 469
    • View Profile
    • Email
Refresh browse row when I "Cancel" popup form
« 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Refresh browse row when I "Cancel" popup form
« Reply #1 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
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11