NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on February 07, 2013, 07:13:54 AM

Title: Refresh a Browse after Change
Post by: osquiabro on February 07, 2013, 07:13:54 AM
How i can refresh a browse after change a record, i have a browse with filter and i need to refresh after chage a record.
Title: Re: Refresh a Browse after Change
Post by: Robert Iliuta on February 07, 2013, 11:10:09 AM
your update form it's a popup? the browse should refresh automatically... you don't need to refresh manually.
The browse it's on a form?
Maybe you can explain more what do you want to do so we can help you.
Regards,
Robert
Title: Re: Refresh a Browse after Change
Post by: osquiabro on February 07, 2013, 01:31:34 PM
my form is in popup, and the browser is inside a form..
Title: Re: Refresh a Browse after Change
Post by: Bruce on February 08, 2013, 12:14:37 AM
is the line you are editing refreshing? are you needing to refresh other lines, or totals as well?

cheers
Bruce
Title: Re: Refresh a Browse after Change
Post by: osquiabro on February 08, 2013, 02:13:57 AM
i need to refresh the entire browse because i have a filter, the record is update  correctly but not the filter.

My Filter:

 loc:FilterWas =''
  loc:FilterWas = 'Sal2:SalesRepCode=<39>'&p_web.GSV('SAL:SalesRepCode')&'<39>' &|
      ' and Sal2:ReportDate_DATE>=' &p_web.GSV('loc:fromdate') &|
      ' and Sal2:ReportDate_DATE<=' &p_web.GSV('loc:todate') 
ThisView{prop:Filter} = loc:FilterWas

Title: Re: Refresh a Browse after Change
Post by: Bruce on February 08, 2013, 09:10:07 AM
In a recent build (7.04 I think, and 7.05)
Browse procedure
Form Tab
Change button
"Refresh whole browse after change" checkbox.

Cheers
Bruce

Title: Re: Refresh a Browse after Change
Post by: osquiabro on February 08, 2013, 10:31:06 AM
amazing...

but just for curious, what code generate this setting..

thanks...
Title: Re: Refresh a Browse after Change
Post by: Bruce on February 08, 2013, 10:55:23 PM
it changes the code after

    case p_web.GetValue('_action_')
    of Net:ChangeRecord


in the CallEIP routine.