NetTalk Central

Author Topic: Having some filter problems  (Read 2439 times)

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Having some filter problems
« on: April 27, 2008, 02:08:03 PM »
Would any of you happen to see anything wrong with this?

Got a memory form with a drop down list of categories (from the category file) to filter the child browse of dealers below it. In the BrowseFilter embed of the dealer browse procedure, I have the following filter:

ThisView{prop:Filter} = 'DEA:Category = '''&clip(CAT:Category)&''' '

The first category I select it gives me the right number of records. If I choose the last category, it is short one record (drops the last dealer with that category). Works perfectly with anything in between, and sometimes the first category is short the first dealer that matches it.

Does this sound familiar? This is a really basic browse and it includes the category in the view.
Mike Grigsby
Credify Systems
Central Oregon, USA

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11194
    • View Profile
Re: Having some filter problems
« Reply #1 on: April 28, 2008, 11:32:46 PM »
Hi Mike,

When in doubt always use the session value. The filter should be...

ThisView{prop:Filter} = 'DEA:Category = '''&p_web.GSV('CAT:Category')&''' '

Cheers
Bruce