Search found 26 matches: refilter

Return to advanced search

Re: Ayuda con FILTER y MARIADB

muchas gracias!

Indicas que primero se use el SETFILTER y luego el REFILTER, como es el método para saber si ya se usó el SETFILTER primero?

a esto me refiero:
if (::oQry:SETFILTER() != nil)
...


Gracias
by goosfancito
Wed Mar 16, 2022 10:52 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con FILTER y MARIADB
Replies: 19
Views: 1161

Re: TDatabase: Parameterized filters and ReFilter()

It is already there in many past versions. Nages, I can converte also this block ? oPrenotazioni  := TDatabase():Open( nil, oApp():cDbfPath+"RESERVA",   "DBFCDX", .t. )              oPrenotazioni:Exec( < ||              SET FILTER TO AllTrim( F...
by Silvio.Falconi
Wed May 26, 2021 8:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase: Parameterized filters and ReFilter()
Replies: 9
Views: 1127

Re: TDatabase: Parameterized filters and ReFilter()

It is already there in many past versions.
by nageswaragunupudi
Tue May 25, 2021 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase: Parameterized filters and ReFilter()
Replies: 9
Views: 1127

Re: TDatabase: Parameterized filters and ReFilter()

all this for the next package ?
when is go out ?
by Silvio.Falconi
Tue May 25, 2021 5:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase: Parameterized filters and ReFilter()
Replies: 9
Views: 1127

Re: TDatabase: Parameterized filters and ReFilter()

When you set filter with
oDbf:SetFilter( cFilter, aParams )
The method applier the aParams to cFilter and prepares the filter string to set the filter.
You can check the exact filter string with
? oDbf:DBFILTER()
and see if this is what you expected.
by nageswaragunupudi
Tue May 25, 2021 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase: Parameterized filters and ReFilter()
Replies: 9
Views: 1127

Re: TDatabase: Parameterized filters and ReFilter()

cFilter := "TRIM(TIPO) == ? .AND. GIORNI == ? .AND. IDELEMENTO == ? .AND. " + ;
"SETTORE == ? .AND. ALLTRIM(IDLISTINO) == ? .AND. MESE == ?"

oDbf:SetFilter( cFilter, { cTipo, nGiorni, cidelemento, cSettore, clistino, nmese } )
by nageswaragunupudi
Tue May 25, 2021 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase: Parameterized filters and ReFilter()
Replies: 9
Views: 1127

Re: TDatabase: Parameterized filters and ReFilter()

Nages, I need to make a filter with different fields ie for example:          cFilter := "trim(Tipo) == '" + cTipo +;                  "' .and. alltrim(str(giorni))== '" + alltrim(str(nGiorni)) ...
by Silvio.Falconi
Tue May 25, 2021 1:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase: Parameterized filters and ReFilter()
Replies: 9
Views: 1127

TDatabase: Parameterized filters and ReFilter()

... "AGE >= ? .AND. AGE <= ?", { 30, 40 } )// This sets filter AGE >= 30 .AND. AGE <= 40// LateroDbf:ReFilter( { 40, 50 } )// changes the filter as AGE >= 40 .AND. AGE <= 50  SetFilter( cFilter, bParams ) n1 := 30n2 := 40oDbf:SetFilter( ...
by nageswaragunupudi
Fri May 21, 2021 4:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase: Parameterized filters and ReFilter()
Replies: 9
Views: 1127

Re: No encuentra Registro con FWHMariaDB

You can also try oRs:SetFilter( "TIPO = ?", { cTipo } )  If you use this approach, then later you can use refilter. Example: oRs:SetFilter( "state = ?", { "NY" } )// after some workoRs:Refilter( { "WA" ...
by nageswaragunupudi
Sat Jul 06, 2019 6:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No encuentra Registro con FWHMariaDB
Replies: 14
Views: 1472

Re: New FTDN May/Mayo 2019 (FWH 19.05)

... una matriz cuando es evaluado. Uso: oDbf:SetFilter( "UPPER(FIRST) = ? .AND. HIREDATE >= ?", ; { cName, dDate } ) - Nuevo: Método Refilter( aParams ): Restablece el filtro utilizando la expresión de filtro utilizada previamente con los nuevos parámetros. - Mejora: Cuando la relación ...
by Antonio Linares
Fri Jun 07, 2019 11:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2019 (FWH 19.05)
Replies: 4
Views: 3177

New FTDN May/Mayo 2019 (FWH 19.05)

... returns an array when evaluated. Usage: oDbf:SetFilter( "UPPER(FIRST) = ? .AND. HIREDATE >= ?", ; { cName, dDate } ) - New: Method Refilter( aParams ): Resets the filter using previously used filter experession with the new paramters - Enhancement: When relation is set to another ...
by Antonio Linares
Mon Jun 03, 2019 12:54 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2019 (FWH 19.05)
Replies: 4
Views: 3177
Next

Return to advanced search