... Open( , 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 I update ...
Search found 24 matches: loverwrite
Searched query: loverwrite
- Sat Sep 17, 2022 10:35 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: use fw_arraytodbf with conditions
- Replies: 5
- Views: 863
- Wed Jun 23, 2021 7:53 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Re: To Nages : delete records - Resolved !!!
- Replies: 1
- Views: 291
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[ 9 ] } ) ...
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[ 9 ] } ) ...
- Mon Feb 11, 2019 6:37 pm
- Forum: WhatsNew / Novedades
- Topic: New FTDN January/Enero 2019 (FWH 19.01)
- Replies: 4
- Views: 4641
Re: New FTDN January/Enero 2019 (FWH 19.01)
... también
puede incluir funciones internas, obsoletas y en desarrollo.
* Mejora: function FW_ArrayToDBF( aArray, [fieldlist], [bProgress], [lOverwrite], ;
[lRecallDeleted], [bTrigger] )
2. fieldlist (opcional): Lista separada por comas o matriz de nombres de campo.
Por defecto todos los ...
puede incluir funciones internas, obsoletas y en desarrollo.
* Mejora: function FW_ArrayToDBF( aArray, [fieldlist], [bProgress], [lOverwrite], ;
[lRecallDeleted], [bTrigger] )
2. fieldlist (opcional): Lista separada por comas o matriz de nombres de campo.
Por defecto todos los ...
- Mon Feb 11, 2019 1:08 pm
- Forum: WhatsNew / Novedades
- Topic: New FTDN January/Enero 2019 (FWH 19.01)
- Replies: 4
- Views: 4641
New FTDN January/Enero 2019 (FWH 19.01)
... may include internal,
obsolete and under development functions also.
* Enhancement: function FW_ArrayToDBF( aArray, [fieldlist], [bProgress], [lOverwrite], ;
[lRecallDeleted], [bTrigger] )
2. fieldlist (optional): Comma separated list or array of field names.
Default all fields. Values are ...
obsolete and under development functions also.
* Enhancement: function FW_ArrayToDBF( aArray, [fieldlist], [bProgress], [lOverwrite], ;
[lRecallDeleted], [bTrigger] )
2. fieldlist (optional): Comma separated list or array of field names.
Default all fields. Values are ...
- Sun Jan 13, 2019 4:17 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Problem with FW_ArrayToDBF(New) RESOLVED!!!
- Replies: 8
- Views: 1925
Re: Problem with FW_ArrayToDBF(New)
We confirm that the function FW_ArrayToDBF(...) with the new lOverWrite parameter is working perfectly.
This is the test program to demonstrate its functionality.
#include "fivewin.ch"REQUEST DBFCDXfunction Main() local aData local cFieldList := "FLD1,FLD2,FLD3 ...
This is the test program to demonstrate its functionality.
#include "fivewin.ch"REQUEST DBFCDXfunction Main() local aData local cFieldList := "FLD1,FLD2,FLD3 ...
- Fri Jan 04, 2019 8:25 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Problem to save a value
- Replies: 3
- Views: 1059
Re: Problem to save a value
At present FW_ArrayToDbf(...) only appends records. For this reason, you need to Zap the dbf. In FWH 19.01, we added a new 4th parameter lOverWrite. If this parameter is set to .T., it overwrites the existing data from the current record. Using this enhancement you do not need to zap the dbf.
This is ...
This is ...
- 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: 6961
Re: funciones de FWH y Harbour en un archivo .txt
... nError>)->cError
HB_ZIPDeleteFiles(<cFile>,<cFiletoDelete>|<aFiles>)->lDeleted
HB_ZIPFile(<cFile>,<cFileToCompress>|<aFiles>,<nLevel>,<bBlock>,<lOverWrite>,<cPassword>,<lWithPath>,<lWithDrive>,[<bFileProgress>])->lCompress
HB_ZIPFileByPKSpan(<cFile>,<cFileToCompress>|<aFiles>,<nLevel>,<bBlock ...
HB_ZIPDeleteFiles(<cFile>,<cFiletoDelete>|<aFiles>)->lDeleted
HB_ZIPFile(<cFile>,<cFileToCompress>|<aFiles>,<nLevel>,<bBlock>,<lOverWrite>,<cPassword>,<lWithPath>,<lWithDrive>,[<bFileProgress>])->lCompress
HB_ZIPFileByPKSpan(<cFile>,<cFileToCompress>|<aFiles>,<nLevel>,<bBlock ...
- Wed Jul 27, 2016 3:50 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: ADORDD FAQs
- Replies: 87
- Views: 25090
Re: ADORDD FAQs
Arerra,
The error message you posted before is occurring in the second line here (6394 in ADORDD.PRG):
if lOverWrite
hb_adoRddDrop( oCn, cBaseDir + aFile[ F_NAME ], , , DBEngine ) // erroring here
endif
But since you are passing .f. for lOverwrite, that line is not being executed, so it must be ...
The error message you posted before is occurring in the second line here (6394 in ADORDD.PRG):
if lOverWrite
hb_adoRddDrop( oCn, cBaseDir + aFile[ F_NAME ], , , DBEngine ) // erroring here
endif
But since you are passing .f. for lOverwrite, that line is not being executed, so it must be ...
- Sun Nov 15, 2015 6:26 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: ADORDD FAQs
- Replies: 87
- Views: 25090
ADORDD FAQs
... adordd SETs:
hb_AdoUpload( "C:\My root databse path", "DBFCDX", "MY SQL CHOSEN ENGINE", .f. )
Choosing the last parameter .f. lOverwrite it allows you if you need to interrupt
porting of dbfs to SQL to run it again from the last uploaded table.
After loading it your app will ...
hb_AdoUpload( "C:\My root databse path", "DBFCDX", "MY SQL CHOSEN ENGINE", .f. )
Choosing the last parameter .f. lOverwrite it allows you if you need to interrupt
porting of dbfs to SQL to run it again from the last uploaded table.
After loading it your app will ...
- Fri Oct 16, 2015 7:58 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Nuevo ADORDD
- Replies: 55
- Views: 19601
Re: Nuevo ADORDD
... única pero debe wok con todos los demás.
Nueva SET ADO TABLENAME CON EL CAMINO DE ON / OFF
Nueva hb_AdoUpload (cBaseDir, CRDD, DBEngine, lOverWrite)
Nueva HB_adorddFile (cFichero) Reemplaza archivos ()
Nueva hb_ADOrddCOPYFILE (cTableOrigin, cTableDestination) Reemplaza CopyFile ()
Nueva hb ...
Nueva SET ADO TABLENAME CON EL CAMINO DE ON / OFF
Nueva hb_AdoUpload (cBaseDir, CRDD, DBEngine, lOverWrite)
Nueva HB_adorddFile (cFichero) Reemplaza archivos ()
Nueva hb_ADOrddCOPYFILE (cTableOrigin, cTableDestination) Reemplaza CopyFile ()
Nueva hb ...
- Fri Oct 16, 2015 7:55 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: ADO RDD xHarbour
- Replies: 1047
- Views: 524386
Re: ADO RDD xHarbour
... MySql and ACCESS only but should wok with all others.
New SET ADO TABLENAME WITH PATH ON /OFF
New hb_AdoUpload( cBaseDir, cRDD, dbEngine, lOverWrite )
New HB_adorddFile( cFile) Replaces File()
New hb_ADOrddCOPYFILE( cTableOrigin, cTableDestination ) Replaces CopyFile()
New hb_adordddir ...
New SET ADO TABLENAME WITH PATH ON /OFF
New hb_AdoUpload( cBaseDir, cRDD, dbEngine, lOverWrite )
New HB_adorddFile( cFile) Replaces File()
New hb_ADOrddCOPYFILE( cTableOrigin, cTableDestination ) Replaces CopyFile()
New hb_adordddir ...
- Thu Mar 21, 2013 1:45 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: O.T. - xHarbour
- Replies: 5
- Views: 1276
Re: O.T. - xHarbour
HB_ZIPFILE:HB_ZIPFILE()
Create a zip file
Syntax
HB_ZIPFILE( <cFile> , <cFileToCompress> | <aFiles>, <nLevel> ,
<bBlock>,<lOverWrite> ,<cPassword>,<lWithPath>,<lWithDrive>) ---> lCompress
Arguments
<cFile> Name of the zip file
<cFileToCompress> Name of a file to Compress, Drive and/or path can be ...
Create a zip file
Syntax
HB_ZIPFILE( <cFile> , <cFileToCompress> | <aFiles>, <nLevel> ,
<bBlock>,<lOverWrite> ,<cPassword>,<lWithPath>,<lWithDrive>) ---> lCompress
Arguments
<cFile> Name of the zip file
<cFileToCompress> Name of a file to Compress, Drive and/or path can be ...
- Mon Jan 11, 2010 12:39 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: HB_ZIPFILE : lOverwrite flag
- Replies: 3
- Views: 699
Re: HB_ZIPFILE : lOverwrite flag
Hello,
I don't know, i don't use,
Best Regard,
Lautaro Moreira
I don't know, i don't use,
Best Regard,
Lautaro Moreira
- Sat Jan 09, 2010 7:50 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: HB_ZIPFILE : lOverwrite flag
- Replies: 3
- Views: 699
Re: HB_ZIPFILE : lOverwrite flag
Tank you , Lautaro, is a good idea.
But this means that the function HB_ZIPFILE() doesn't work with lOverwrite flag = .F. ?
Best regards
Walter Zafferami
But this means that the function HB_ZIPFILE() doesn't work with lOverwrite flag = .F. ?
Best regards
Walter Zafferami
- Fri Jan 08, 2010 10:46 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: HB_ZIPFILE : lOverwrite flag
- Replies: 3
- Views: 699
Re: HB_ZIPFILE : lOverwrite flag
Hello,
I'm using this :
#include "hbmzip.ch"......local nhzipfilenhzipfile := HB_ZipOpen( "zipfile.zip", HB_ZIP_OPEN_ADDINZIP )for nveces = 1 to len ( afiles ) HB_ZipStoreFile( nhzipfile,afiles[nveces])next nveceshb_zipclose(nhzipfile)  ...
I'm using this :
#include "hbmzip.ch"......local nhzipfilenhzipfile := HB_ZipOpen( "zipfile.zip", HB_ZIP_OPEN_ADDINZIP )for nveces = 1 to len ( afiles ) HB_ZipStoreFile( nhzipfile,afiles[nveces])next nveceshb_zipclose(nhzipfile)  ...