NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on October 08, 2013, 01:19:00 AM

Title: Different browse refreshes between popup and not popup
Post by: terryd 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?
Title: Re: Different browse refreshes between popup and not popup
Post by: Bruce 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?
Title: Re: Different browse refreshes between popup and not popup
Post by: terryd 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.
Title: Re: Different browse refreshes between popup and not popup
Post by: terryd 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
Title: Re: Different browse refreshes between popup and not popup
Post by: Bruce 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
Title: Re: Different browse refreshes between popup and not popup
Post by: terryd on October 10, 2013, 07:29:54 PM
Thanks bruce. That works.