Search found 22 matches: setbuffer

Return to advanced search

Exportacíon Excel desde Reporte

... tem registros para editar')) Return NIL ENDIF SELECT TELE0060 DATABASE oTele0060 oTele0060:Load() oTele0060:SetOrder( 5 ) oTele0060:SetBuffer( .T. ) REPORT oReport; TITLE cTit , "*** RELACAO DE ENTREGAS ***" , "Referente a " + Dtoc(vDataIni) + space(1) + "ate" ...
by danielgustavo
Thu Jun 24, 2021 2:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Exportacíon Excel desde Reporte
Replies: 0
Views: 310

Re: xbrowse too slow

seems to be really slow: - when I scroll through all the records or by pages Are you now using oLotto:setBuffer(.F.)? - when I go to print a record and refresh the xbrowse (doing also setfocus) Why are you refreshing the browse after printing? - when I insert a record and ...
by James Bott
Thu Sep 19, 2019 7:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse too slow
Replies: 30
Views: 4320

Re: xbrowse too slow

I guess I wasn't clear.

oDbf:setBuffer(.F.)

Works. Did you try it?
by James Bott
Thu Sep 19, 2019 1:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse too slow
Replies: 30
Views: 4320

Re: xbrowse too slow

... I was right AND I was wrong. You can turn off buffering, but not by changing the class variable lBuffer directly. You must do it this way: oDBF:setBuffer(.F.) Technically, lBuffer should be a hidden variable that cannot be changed by the programmer. OOP languages like Smalltalk, do not allow ...
by James Bott
Wed Sep 18, 2019 4:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse too slow
Replies: 30
Views: 4320

Re: Tdatabase performance issue

hua wrote:Peter,
You can try :SetBuffer(.f.) to see whether that could help improve the speed a bit

Yes, it does improve the speed. Same as reading DBF directly.
by nageswaragunupudi
Thu Jul 11, 2019 5:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tdatabase performance issue
Replies: 4
Views: 483

Re: Tdatabase performance issue

Peter,
You can try :SetBuffer(.f.) to see whether that could help improve the speed a bit
by hua
Thu Jul 11, 2019 5:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tdatabase performance issue
Replies: 4
Views: 483

Re: funciones de FWH y Harbour en un archivo .txt

__clsVerify(<nClassH>)-><acBrokenMessages>|Nil __objAddData(<oObject>,<cDataName>)->oObject __objAddInline(<oObject>,<cInlineName>,<bInline>)->oObject __objAddMethod(<oObject>,<cMethodName>,<nFuncPtr>)->oObject __objDelInline(&l...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5720

Re: funciones de FWH y Harbour en un archivo .txt

__clsVerify __objAddData __objAddInline __objAddMethod __objDelInline __objDelMethod __objDelMethod __objDerivedFrom __objGetMethodList __objGetValueList __objModInline __objModMethod __objSetValueList __Pack __Run __Zap AAdd Abs AChoice AClone ACopy ACos AddASCII AddMonth ADel ADir ADSBlob2File ADS...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5720

TDatabase FWH 17.08 : Datas and Methods

... Used by ::Save() 82. Seek( uExpr, [lSoft], [lWildSeek] ) --> lFound Seeks uExpr and returns lFound. 83. SetArea( nWorkArea ) Internal 84. SetBuffer( [lOnOff] ) --> ::lBuffer Optionally sets ::lBuffer and returns value of ::lBuffer 85. SetFilter( [cFilter] ) --> cFilter Sets filter ...
by nageswaragunupudi
Fri Sep 15, 2017 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase FWH 17.08 : Datas and Methods
Replies: 1
Views: 1788

Re: Clase TDb o TDatabase....cual usar?

... )->( RecCount() ) METHOD RecLock() INLINE ( ::nArea )->( RLock() ) METHOD RecNo() INLINE ( ::nArea )->( RecNo() ) METHOD Save() METHOD SetBuffer( lOnOff ) METHOD SetBookMark() METHOD Seek( uExp, lSoft ) METHOD SetOrder( cnTag, cFile ) INLINE ( ( ::nArea )->( OrdSetFocus( cnTag, cFile ...
by Compuin
Thu Feb 28, 2013 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TDb o TDatabase....cual usar?
Replies: 10
Views: 2796

Re: Zip functions - I'm in trouble

I'm using the following functions: /* * $DOC$ * $FUNCNAME$ * HB_ZIPFILE() * $CATEGORY$ * Zip Functions * $ONELINER$ * Create a zip file * $SYNTAX$ * HB_ZIPFILE( <cFile>, <cFileToCompress> | <aFiles>, <nLevel>, * <bBlock>, <lOverWrite>, <cPassword>, <lWith...
by Enrico Maria Giordano
Sun Aug 30, 2009 1:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Zip functions - I'm in trouble
Replies: 1
Views: 908

Más sugerencias para tu clase.

... */ METHOD Blank() CLASS TAdoBase ::oRs:MoveLast() //::Load() ::ClearBuffer() ::lNew:=.T. return nil /* ***************************** */ METHOD SetBuffer( lOnOff ) CLASS TAdoBase Local Old_lBuffer := ::lBuffer //DEFAULT lOnOff := .t. if lOnOff != nil ::lBuffer = lOnOff if ::lBuffer ::Load() ...
by FiveWiDi
Fri Apr 11, 2008 6:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADOBASE, Nueva clase para manipular RECORDSET de ADO
Replies: 55
Views: 14873

Re: ADOBASE, Nueva clase para manipular RECORDSET de ADO

... n = 1 to ::nFields ::aBuffer[ n ] := ::AdoGetValue( n - 1 ) next if ::lOemAnsi ::OemToAnsi() endif return nil /* ******************** */ METHOD SetBuffer( lOnOff ) CLASS TAdoBase DEFAULT lOnOff := .t. if lOnOff != nil ::lBuffer = lOnOff endif if ::lBuffer ::Load() else //::aBuffer := nil ::ClearBuffer() ...
by FiveWiDi
Fri Apr 11, 2008 8:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADOBASE, Nueva clase para manipular RECORDSET de ADO
Replies: 55
Views: 14873

Re: Sobre la clase DATABASE nativa de FWH

oDbf:SetBuffer( .F. )
Y ahora realiza el scope, haber si te funciona.
by thefull
Thu Jan 31, 2008 5:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Sobre la clase DATABASE nativa de FWH
Replies: 5
Views: 1170

... Ok. Si descomentas esta linea del codigo que he puesto, veras como funciona ok, sin cambiar nada mas. IF lAdd //-> Para Anadir oDbf:SetBuffer( .T. ) oDbf:Blank() ELSE //-> Para Alterar oDbf:Load() ENDIF Este codigo es practicamente igual ...
by Biel EA6DD
Wed Nov 28, 2007 5:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema usando tDatabase
Replies: 16
Views: 3940
Next

Return to advanced search