NetTalk Central

Author Topic: Prop:SQLFilter  (Read 5521 times)

Rhys Daniell

  • Newbie
  • *
  • Posts: 34
    • View Profile
Prop:SQLFilter
« on: July 23, 2007, 09:05:40 PM »
One for Bruce I suspect.

Is there/can we have an embed or template selection which would allow Prop:SQLFilter to be used in place of Prop:Filter?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Prop:SQLFilter
« Reply #1 on: August 01, 2007, 12:47:42 AM »
Hi Rhys,

There's an embed point in the browse called "Browse Filter".
This happens after the filter is "constructed".
So this is probably the best place to use prop:SqlFilter.

Be aware though that the locator functionality makes use of the filter (and alters it) in the SetView statement. So the + form of the SQL filter is probably gonna work the best for you.

Of course a better approach is to use the SQL () statement inside the regular filter. This would then have the minimum number of side effects.

Cheers
Bruce

Rhys Daniell

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Prop:SQLFilter
« Reply #2 on: August 01, 2007, 04:44:44 PM »
> SQL()
Good grief! There's a page in the Clarion help system I haven't read yet.

Thanks, Bruce!