xBrowse

xBrowse

Postby HunterEC » Mon Jan 24, 2011 8:40 pm

Guys:

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

Thanks
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: xBrowse

Postby James Bott » Mon Jan 24, 2011 8:43 pm

Hunter

Filters, scopes, or conditional indexes.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: xBrowse

Postby HunterEC » Mon Jan 24, 2011 10:20 pm

James:

How do I implement a filter ? Thank you.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: xBrowse

Postby James Bott » 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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: xBrowse

Postby HunterEC » Tue Jan 25, 2011 3:46 am

Thank you James. I thought that xBrowse has a data for filters.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 81 guests