FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How differenct speed of oRs:SetFilter() and oRs:ReFilter?
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How differenct speed of oRs:SetFilter() and oRs:ReFilter?
Posted: Fri Sep 01, 2017 02:10 AM

I use FWH MySql/MARIADB and use ::SetFilter().
If I need to change filter. What is it best (speed) way?

::SetFilter('rsv_status="O"')
::SetFilter('rsv_status="R"')

or

::SetFilter( {'rsv_status = ?} , { "O" } )
::ReFilter( { "R" } )

Thanks in advance.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: How differenct speed of oRs:SetFilter() and oRs:ReFilter?
Posted: Sat Sep 02, 2017 02:16 AM

All alternatives work the same way.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: How differenct speed of oRs:SetFilter() and oRs:ReFilter?
Posted: Sat Sep 02, 2017 07:34 AM

Thanks for your kind help, Mr.Rao.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion