FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
xBrowse
Posted: Mon Jan 24, 2011 08:40 PM

Guys:

How can I filter an xBrowse so I can include records matching a criteria ?

Thanks

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: xBrowse
Posted: Mon Jan 24, 2011 08:43 PM

Hunter

Filters, scopes, or conditional indexes.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Re: xBrowse
Posted: Mon Jan 24, 2011 10:20 PM

James:

How do I implement a filter ? Thank you.

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: xBrowse
Posted: Mon Jan 24, 2011 11:06 PM

Hunter,

SET FILTER TO ...

Or, better:

(cAlias)->(dbsetfilter( bCondition, cCondition ))

Be advised that filters can be very slow for large databases. Indexes with scopes are very fast.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Re: xBrowse
Posted: Tue Jan 25, 2011 03:46 AM

Thank you James. I thought that xBrowse has a data for filters.

Continue the discussion