Re: search with filtering

From: Mike Shkolnik (mshkolnik2002_at_ukr.net)
Date: 12/27/04


Date: Mon, 27 Dec 2004 10:47:58 +0200

yourTable.Filter := 'yourFieldName = ''AB*'''
yourTable.Filtered := True

--
With best regards, Mike Shkolnik
EMail: mshkolnik@scalabium.com
http://www.scalabium.com
"mahdavi" <ro_mahdavi@yahoo.com> wrote in message
news:41cfb938@newsgroups.borland.com...
> Hi  there,
>
> how can I restrict my search result with a part of a field.
> Namely filter name field to show only records that  2 first characher of
> their name field are "AB".
> I'd like to use table property not query.
>
> Thanks a lot
>
>


Relevant Pages

  • Re: Scalabium?
    ... PS: better to post such messages to our newsgroups or mailing list:-) ... With best regards, Mike Shkolnik ... >> With best regards, Mike Shkolnik ... >>> Ole ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: looking for a normal enhanced grid control !
    ... For standard TStringGrid I personally draw everything what I need in custom ... With best regards, Mike Shkolnik ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: TDbPathImage
    ... Just use the OnGetText/OnSetText events for TField and load/save image from ... With best regards, Mike Shkolnik ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: DB Grids choice
    ... But anyway check our freeware TSMDBGrid: ... With best regards, Mike Shkolnik ... > especially on data navigation and DB event management. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Registry import/export component wanted
    ... With best regards, Mike Shkolnik ... "Michael J. Leaver" wrote in message ...
    (borland.public.delphi.thirdpartytools.general)