NetTalk Central

Author Topic: Different browse refreshes between popup and not popup  (Read 3775 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Different browse refreshes between popup and not popup
« on: October 08, 2013, 01:19:00 AM »
NTWS725
If I set a form not to open as popup and change a value in the record the browse is updated immediately on save
If I set a form to open as popup and then change a value in the record, on return to the browse no values are changed on the browse. I have to call the browse from the menu again to see the modified value.
Is there something I can do to get a refresh of the calling row on save if I open the form as popup?
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Different browse refreshes between popup and not popup
« Reply #1 on: October 08, 2013, 02:05:10 AM »
no, by default the browse should update automatically when returning from a popup.
can you duplicate the effect in an example?

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Different browse refreshes between popup and not popup
« Reply #2 on: October 08, 2013, 08:16:02 PM »
Hi Bruce
Strange thing. I went into example1 to see if I could create an example.
The default setting as the example comes is that the form is set as open as popup on the browse's form tab but on running the form does not open as popup.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Different browse refreshes between popup and not popup
« Reply #3 on: October 08, 2013, 11:58:12 PM »
Ok what I found is that if I change a value  in the selected record and that value is used in the filter to include or exclude the record then the record is still displayed on return from the form.
This makes sense since i assume the idea of the popup is to change as little as possible and not have to refresh the whole browse on each form return.
Unless what I am saying is incorrect I am going to change the form to non popup where I have this record value/filter exclude happening
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Different browse refreshes between popup and not popup
« Reply #4 on: October 09, 2013, 09:54:17 PM »
actually, if you intend for the record to potentially be excluded, then the "whole browse has to be refreshed" not just the row. From memory this is a setting on the "change" tab of the Browse From settings...
"Refresh whole browse after change".

Ticking that on is probably your best bet.

cheers
Bruce

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Different browse refreshes between popup and not popup
« Reply #5 on: October 10, 2013, 07:29:54 PM »
Thanks bruce. That works.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186