NetTalk Central

Author Topic: Refresh a Browse after Change  (Read 4590 times)

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Refresh a Browse after Change
« 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.

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: Refresh a Browse after Change
« Reply #1 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

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: Refresh a Browse after Change
« Reply #2 on: February 07, 2013, 01:31:34 PM »
my form is in popup, and the browser is inside a form..

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Refresh a Browse after Change
« Reply #3 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

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: Refresh a Browse after Change
« Reply #4 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


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Refresh a Browse after Change
« Reply #5 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


osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: Refresh a Browse after Change
« Reply #6 on: February 08, 2013, 10:31:06 AM »
amazing...

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

thanks...

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Refresh a Browse after Change
« Reply #7 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.