Search found 64 matches: bprogress

Return to advanced search

BackUp [cCondition]

... loads about 100,000 records, is it possible that the BackUp has a clause (WHEN) to condition the process?, as well as: BackUp( [source], [dest], [bProgress], [cCondition], [nRecsInBatch], [nMaxBufperSQL] ) where cCondition := "WHERE year(fecha_doc) > 2023", something like that. Thank ...
by Willi Quintana
Mon Mar 04, 2024 5:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BackUp [cCondition]
Replies: 1
Views: 156

BackUp [bCondition]

... loads about 100,000 records, is it possible that the BackUp has a clause (WHEN) to condition the process?, as well as: BackUp( [source], [dest], [bProgress], [cCondition], [nRecsInBatch], [nMaxBufperSQL] ) where cCondition := "WHERE year(fecha_doc) > 2023", something like that. Thank ...
by Willi Quintana
Mon Mar 04, 2024 5:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BackUp [bCondition]
Replies: 1
Views: 77

Problem with tmeter

... 3) conversion from storico.dbf to lotto.dbf for the procedure 2 and 3 I use the same meter (oProgress) for procedure 1 local nPos := 1 local bprogress := { || (oProgress:Set( npos++ ),; //oProgress:SetPos( npos++ ),; oSay[3]:SetText(ltrim(str(npos))),; oSay[3]:refresh(),; SysRefresh() ) } ...
by Silvio.Falconi
Mon Nov 14, 2022 10:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tmeter
Replies: 3
Views: 300

use fw_arraytodbf with conditions

... , cPath+"STORICO", "DBFCDX", .T. ) SET DELETED ON olotto2:setorder(0) oLotto2:gotop() //FW_ArrayToDBF( aData, cFieldList, bProgress, lOverWrite, lRecallDeleted, bTrigger ) oLotto2:fw_ArrayToDBF( aData,,bProgress) // how insert conditions ? I need to create it because when ...
by Silvio.Falconi
Sat Sep 17, 2022 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: use fw_arraytodbf with conditions
Replies: 5
Views: 656

Re: XBrowse a Excel o a Calc

... valor de la variable, si ésta indica que deseo con Calc, entonces después de definir XBrowse debo indicar: If lQuieroCalc bDummyBloc := { | oBrw, bProgress, nGroupBy, aCols | ( oBrw:bToExcel := Nil, oBrw:ToCalc( bProgress, nGroupBy,,, aCols ), oBrw:bToExcel := bDummyBloc ) } oMiwBrowse:bToExcel ...
by FiveWiDi
Sat Sep 10, 2022 10:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse a Excel o a Calc
Replies: 3
Views: 261

Right progress percentage

When I make a conversion I use local bprogress := { || ( oProgress:SetPos( npos++ ),; SysRefresh() ) } oProgress:SetRange( 0, (len(aData)/1000) ) oProgress:SetPos( 0 ) oLotto2:fw_ArrayToDBF( aData,,bProgress) aData is big https://i.postimg.cc/d3Zc418S/gg.png ...
by Silvio.Falconi
Thu Jun 09, 2022 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Right progress percentage
Replies: 1
Views: 291

fw_arraytodbf - record empty - Resolved!

When I convert from a csv file to an array, the fw_ArrayToDBF (aData ,, bProgress) function inserts me an empty record, how do I avoid this   local  csvfile:=".\csv\file.csv"   local  cSymbol := ","   local  cText := StrTran( MemoRead( ...
by Silvio.Falconi
Tue Mar 15, 2022 10:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: fw_arraytodbf - record empty - Resolved!
Replies: 3
Views: 264

Re: To Nages : Conversion txt into xbrowse bad

... line of the csv file I have the database fields and I was able to delete with adel (adata, 1) but later when I use oDbf: fw_ArrayToDBF (aData, , bProgress) to save aData in the dbf archive, the procedure inserts a first empty record and then in any case inserts all the other records for a sample ...
by Silvio.Falconi
Sat Nov 27, 2021 2:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Conversion txt into xbrowse bad
Replies: 7
Views: 783

Re: To Nages : Conversion txt into xbrowse bad

... line of the csv file I have the database fields and I was able to delete with adel (adata, 1) but later when I use oDbf: fw_ArrayToDBF (aData, , bProgress) to save aData in the dbf archive, the procedure inserts a first empty record and then in any case inserts all the other records for a sample ...
by nageswaragunupudi
Fri Nov 26, 2021 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Conversion txt into xbrowse bad
Replies: 7
Views: 783

Re: To Nages : Conversion txt into xbrowse bad

... line of the csv file I have the database fields and I was able to delete with adel (adata, 1) but later when I use oDbf: fw_ArrayToDBF (aData, , bProgress) to save aData in the dbf archive, the procedure inserts a first empty record and then in any case inserts all the other records for a sample ...
by Silvio.Falconi
Wed Nov 24, 2021 4:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Conversion txt into xbrowse bad
Replies: 7
Views: 783

Re: To Nages : delete records - Resolved !!!

If I delete a record on aData then I must save the aData on dbf from yunus.prg I saw there is //FW_ArrayToDBF( aData, cFieldList, bProgress, lOverWrite, lRecallDeleted, bTrigger ) if ! Empty( oBrw:aDeleted )            AEval( oBrw:aDeleted, { |a| a[ 9 ] := -a[ ...
by Silvio.Falconi
Wed Jun 23, 2021 7:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Re: To Nages : delete records - Resolved !!!
Replies: 1
Views: 260

Re: New FTDN February/Febrero 2021 (FWH 21.02)

... * Mejora: En la función FW_ExcelToDbf( oRange, cFieldList, lHasHeaders, bProgress ) Ahora el parámetro cFieldList puede ser también una matriz de dos dimensiones: El primer elemento de cada ítem contiene el nombre del campo ...
by Antonio Linares
Mon Apr 05, 2021 6:43 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2021 (FWH 21.02)
Replies: 2
Views: 1463

New FTDN February/Febrero 2021 (FWH 21.02)

... * Enhancement: function FW_ExcelToDbf( oRange, cFieldList, lHasHeaders, bProgress ) Now cFieldList can also be a two-dimensional array: First element of each item contains the field name and the second element contains the ...
by Antonio Linares
Wed Mar 24, 2021 8:56 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2021 (FWH 21.02)
Replies: 2
Views: 1463

Re: Parámetro bProgress FW_ExcelToDbf

No sé como lo haces para estar siempre tan atento!!! Muchas gracias!!!
by nicinf
Sat Mar 06, 2021 10:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parámetro bProgress FW_ExcelToDbf
Replies: 2
Views: 300

Re: Parámetro bProgress FW_ExcelToDbf

bProgress recibe dos parámetros:

Eval( bProgress, 0, nRows )

el primero es siempre cero y el segundo parece ser nRows := oRange:Rows:Count

puedes revisarlo en source/function/dbffunc2.prg
by Antonio Linares
Sat Mar 06, 2021 10:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Parámetro bProgress FW_ExcelToDbf
Replies: 2
Views: 300
Next

Return to advanced search