Search found 223 matches: setfilter

Return to advanced search

Re: Ayuda con FILTER y MARIADB

You are the programmer. You know if you previously used oRs:SetFilter() and what parameters you used for this filter, if any.

Anyway
oQry:Filter --> present filter expression
oQry:aFiltParams --> array of parameters used, if any
by nageswaragunupudi
Wed Mar 16, 2022 12:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con FILTER y MARIADB
Replies: 19
Views: 1194

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: 1194

Re: Ayuda con FILTER y MARIADB

Hola.

No es solo la Ñ, es que el setfilter en si no me funciona.
by goosfancito
Wed Mar 02, 2022 8:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con FILTER y MARIADB
Replies: 19
Views: 1194

Re: System info, Tips & Tricks, scharing project info

... for all the search fields from that browse, so they become optimised ? :bBarGetAction := {|| ( oBrwSel:cAlias )->( MARC_SETFILTER( oBrwSel ) ) }  FUNCTION MARC_SETFILTER( oBrw ) // SETFILTER()?? INTERN COMMAND.   LOCAL cFilter := ...
by Marc Venken
Sat Jan 15, 2022 4:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: System info, Tips & Tricks, scharing project info
Replies: 20
Views: 1549

Re: FWH: MySql/MariaDB: RowSet object

... <= ? "+ ;"ORDER BY a.iditem, a.fecha "  y hago lo siguiente: ::oQry := ::oCnx:QUERY( QUINCENA, { ::dInicio, ::dFinal } ) ::oQry:setfilter( "c4_0>0 and c4_0<11" ) pero necesito que este ordenado por los campos "c2" y "c3" pero no logro hacerlo, ...
by goosfancito
Sun Dec 12, 2021 10:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 51
Views: 19853

Re: Focus error on this new project

... to good programming? I think I should also start doing this right ? //-------------------------------------------------------------- FUNCTION MARC_SETFILTER( oBrw ) // SETFILTER()?? INTERN COMMAND. So, the setfilter I used is standard inside FW... Than I will try that one. I believe I once got ...
by Marc Venken
Thu Dec 09, 2021 2:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Focus error on this new project
Replies: 16
Views: 1257

To Nages : Tsequence modify

... opened the area simply with Tdatabase oSubCat:= TDatabase():Open( , "category", "DBFCDX", .T. ) oSubCat:setorder(1) oSubCat:setfilter(cFilter2) oSubCat:Gotop() but I cannot use Tsequence's methods therefore while in the network the codes of the main category are saved well, ...
by Silvio.Falconi
Mon Dec 06, 2021 12:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Tsequence modify
Replies: 0
Views: 218

Re: no se como hacer funcionar el setfilter

No veo incluida esa columna s.id entre las columnas del select.
by carlos vargas
Sat Oct 23, 2021 10:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: no se como hacer funcionar el setfilter
Replies: 1
Views: 285

no se como hacer funcionar el setfilter

... (en el ejemplo puse que sea igual al numero 1) y ahi tengo el error cuando hago esto no me funciona, que estoy haciendo mal? ::oQry:setfilter( "s.id = ?", {1} )  gracias
by goosfancito
Sat Oct 23, 2021 7:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: no se como hacer funcionar el setfilter
Replies: 1
Views: 285

Re: Doble SetFilter()

... ahora aplico un filtro, en este caso quiero todo lo que el campo a.nombre = %ahora%    // Esto es correcto?     ::oQry:setfilter( "a.nombre=?", { "%ahora%" } )  Como puedo ver la "cadena" del filtro' o sea si hice bien ...
by goosfancito
Sun Oct 10, 2021 5:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Doble SetFilter()
Replies: 3
Views: 584

Re: New FTDN April/Abril 2021 (FWH 21.04)

... el ámbito, si el registro actual está fuera del ámbito, el puntero del registro se desplaza al registro más cercano dentro del ámbito. - Mejora a SetFilter(...) Después de configurar el filtro, si el registro actual no respeta el filtro, el puntero de registro se mueve al registro más cercano ...
by Antonio Linares
Fri Jun 04, 2021 2:15 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2021 (FWH 21.04)
Replies: 8
Views: 2021

New FTDN April/Abril 2021 (FWH 21.04)

... After setting the scope, if the current record is out of scope, record pointer is moved to the nearest record within the scope. - Enhancement to SetFilter(...) After setting the filter, if the current record does not respect the filter, the record pointer is moved to the nearest record respecting ...
by Antonio Linares
Mon May 31, 2021 3:53 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2021 (FWH 21.04)
Replies: 8
Views: 2021

Re: TDatabase Again .. Xbrowse does not resolve data

... not in use: DBCLEARFILTER Stack Calls =========== Called from: => DBCLEARFILTER( 0 ) Called from: .\source\classes\DATABASE.PRG => TDATABASE:SETFILTER( 1539 ) Called from: CUSTVIEW.PRG => _VIEWALL( 648 ) Called from: CUSTVIEW.PRG => (b)_CUSTVIEW( 281 ) Called from: .\source\classes\BTNBMP.PRG ...
by Rick Lipkin
Tue May 25, 2021 7:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase Again .. Xbrowse does not resolve data
Replies: 6
Views: 561

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: 1134

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: 1134
PreviousNext

Return to advanced search