NetTalk Central

Author Topic: Filter lost by nav keys?  (Read 3420 times)

Mike McLoughlin

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • Clarion Templates
    • Email
Filter lost by nav keys?
« on: December 08, 2009, 04:26:31 AM »
I use a filter in a browse called from a form

'lea:assessor = ''' & p_web.GSV('Loc:assessor') & ''' '

It works OK the first time but as soon as I press one of the navigation keys (Next etc) the filter is lost and p_web.GSV('Loc:assessor') returns an empty string.

Seems like somewhere the session  queue us being emptied??

Mike
Mike McLoughlin

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Filter lost by nav keys?
« Reply #1 on: December 08, 2009, 07:41:16 AM »
My guess is you're setting the Session Value of Loc:assessor somewhere.
Or it's being set for you - if you have defined this variable under the DATA button in the browse, try removing it from there.

Cheers
Bruce

Mike McLoughlin

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • Clarion Templates
    • Email
Re: Filter lost by nav keys?
« Reply #2 on: December 08, 2009, 08:13:34 AM »
Yes that was it - loc:assessor was defined in the calling form AND the filtered browse so it was conflicting with the sessionQ value.

thanks

Mike
Mike McLoughlin