Search found 223 matches: setfilter

Return to advanced search

Re: xBrowse faster with less colums

... to uptimize... You see a lot of rems ( // ) because of tests Most used and slowing the process down = the button Set filter calling the function Setfilter Maybe you can have a look at bad object/code ? Would be very nice. static function mailbulk()   local oDlg, oFont, oBrw,cfactart := ...
by Marc Venken
Fri May 01, 2020 1:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse faster with less colums
Replies: 9
Views: 1106

Re: give the setfocus to getbar

... into the get :aCols[ 1 ]:cBarGetBmp := hBmp // this for show the Bitmap on the get :aCols[ 1 ]:bBarGetAction := { || ( oBrowse:cAlias )->( SetFilter( oBrowse )) } // this for show the bitmap on the get and associated a action now it might work well but I still have a small problem the image ...
by Silvio.Falconi
Sat Apr 18, 2020 10:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: give the setfocus to getbar
Replies: 3
Views: 722

Re: Tema maria_Connect / FWCONNECT

I tell you it doesn't work for me. Neither with seek nor setfilter or locate. It does not search the registry. I do it like this oDbf: SetFilter (xfind) if oDbf: EOF () fiarc: = 0 endif I will post some working samples in my next post. I ask you what ...
by nageswaragunupudi
Wed Dec 18, 2019 5:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tema maria_Connect / FWCONNECT
Replies: 7
Views: 1595

Re: Tema maria_Connect / FWCONNECT

Gracias G. N. Rao. Te cuento no me funciona. Ni con seek ni setfilter o locate. No busca el registro Lo hago asi oDbf:SetFilter( xfind ) if oDbf:EOF() fiarc := 0 endif Pero usando ADO si funciona, Te pregunto que libreria se requiere para usar este recurso. ...
by ruben Dario
Wed Dec 18, 2019 4:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tema maria_Connect / FWCONNECT
Replies: 7
Views: 1595

Re: Tema maria_Connect / FWCONNECT

... oCn:RowSet( cTableNameOrcSqlStatement, [aParams], [lShowError] ) or oQry := oCn:Query( cTableNameOrcSqlStatement, [aParams] , [lShowError] ) oRs:SetFilter( filterexpression_with_dbfsyntax ) oRs:Filter := <newfilter> Si uso SetFilter de esta manera no me funciona. oDbf:SetFilter( variable='1' ...
by ruben Dario
Mon Dec 16, 2019 10:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tema maria_Connect / FWCONNECT
Replies: 7
Views: 1595

Re: Small Invoice with tdatabase

... FIELD->INVNUM ) = alltrim(nInvoice) return nil > ) oPartRes:gotop() oPartRes:ArrayToDBF( aItems, cItemFlds,nil , .t., .t. ) oPartRes:SetFilter( "" )
by Silvio.Falconi
Mon Aug 12, 2019 7:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Invoice with tdatabase
Replies: 6
Views: 1237

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

... condición del filtro como una cadena de caracteres. Esta función devuelve el bloque de código usado por el filtro. * Database.prg - Nuevo: Método SetFilter( cFilter, aParams ): se ha añadido aParams como segundo parámetro. aParams es una matriz de valores para ser insertada en el lugar marcado ...
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: 3227

New FTDN May/Mayo 2019 (FWH 19.05)

... functin DBFILTER() returns the filter condition as string This function returns the codeblock used for filter * database.prg. - New: Method SetFilter( cFilter, aParams ): aParms is added as second parameter. aParams is an array of values to be inserted in the place holders marked with ?. ...
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: 3227

Re: tdatabase Filter error

Yes
Yes
For clearing filter, it is easier and better to use oDbf:SetFilter( "" )
by nageswaragunupudi
Thu May 02, 2019 4:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tdatabase Filter error
Replies: 20
Views: 1737

tdatabase Filter error

... dtoc(dDataIniziale)+"'<= dtoc(CHECK_OUT)"+; " .and. '"+ dtoc(dDataFinale)+"'=> dtoc(CHECK_IN)" oReservation:setFilter(cFilter) oReservation:gotop() xbrowser oReservation the original was SET FILTER TO AllTrim( RE->TYPE ) == AllTrim( cTypeRoom ) .and. RE->NUM ...
by Silvio.Falconi
Tue Apr 23, 2019 5:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tdatabase Filter error
Replies: 20
Views: 1737

Re: lgetbar on road

Now I changed if Empty( cFilter ) if ! Empty( DBFILTER() ) oDbf:setfilter() * DBCLEARFILTER() oBrw:Refresh() endif else if !( DBFILTER() == cFilter ) * SET FILTER TO &cFilter oDbf:setfilter(cFilter) oDbf:gotop() *GO TOP oBrw:Refresh() endif endif make ...
by Silvio.Falconi
Sun Mar 31, 2019 7:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: lgetbar on road
Replies: 8
Views: 1328

Re: lgetbar on road

with oldest mode run ok
now with tdatabase make error on setfilter func
this line

if !( DBFILTER() == cFilter )
SET FILTER TO &cFilter
by Silvio.Falconi
Sun Mar 31, 2019 7:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: lgetbar on road
Replies: 8
Views: 1328

Re: lgetbar on road

... oBrw:aCols[2]:uBarGetVal:= Space(60) oBrw:aCols[2]:cBarGetBmp:= "search.bmp" oBrw:aCols[2]:bBarGetAction:= { || ( oBrw:cAlias )->( SetFilter( oBrw ) ) } oBrw:aCols[3]:uBarGetVal:= Space(2) oBrw:aCols[3]:cBarGetBmp:= "search.bmp" oBrw:aCols[3]:bBarGetAction:= { || ( oBrw:cAlias ...
by Silvio.Falconi
Sat Mar 30, 2019 10:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: lgetbar on road
Replies: 8
Views: 1328

lgetbar on road

...  Time from start: 0 hours 0 mins 29 secs    Error occurred at: 30-03-2019, 10:26:34   Error description: Error DBCMD/2001  Workarea not in use: DBSETFILTERStack Calls===========   Called from:  => DBSETFILTER( 0 )   Called from: source\ut\ut_codFisc.prg => SETFILTER( 834 )  ...
by Silvio.Falconi
Sat Mar 30, 2019 9:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: lgetbar on road
Replies: 8
Views: 1328

Re: Complex Search on dbf from an array

I resolved with a easy setfilter I had difficulty finding the way how to pass the values contained in the tips Local cFilter := "trim(Tipo) == '" + cTipo +; "' .and. alltrim(str(giorni))== '" + alltrim(str(nGiorni)) ...
by Silvio.Falconi
Mon Feb 18, 2019 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Complex Search on dbf from an array
Replies: 6
Views: 904
PreviousNext

Return to advanced search