Search found 111 matches: sdf

Return to advanced search

Re: EXPORTAR DATOS DESDE FW A PRESTASHOP

... ; [FIELDS <fieldNames,...> ;] [<Scope> ; ] [WHILE <lWhileCondition> ;] [FOR <lForCondition> ;] [VIA <rddName>] [SDF | DELIMITED [WITH BLANK | TAB | PIPE | <xDelimiter> ] ] [CODEPAGE <cCodePage>] ; DELIMITED WITH <xDelimiter> The WITH option specifies ...
by Antonio Linares
Mon Dec 26, 2022 9:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: EXPORTAR DATOS FW A PRESTASHOP [SOLUCIONADO PROBLEMA IMAGEN]
Replies: 32
Views: 2712

Padron de IIBB

Hola buenas tardes, desde hace mucho en mi sistema cargo el padron desde el txt con appe from "padron.txt" sdf y funcionaba perfecto.

El tema es que ahora solo carga el primer registro, puede ser que venga sin el 0D 0A?

Como lo solucionaron?

SAludos.
Jorge
by jpcavagnaro
Mon Dec 13, 2021 10:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Padron de IIBB
Replies: 1
Views: 317

Re: eShop sample and a DBF product file

... Build date May 27 2020 05:53:35 Compiler Microsoft Visual C 19.26.28805 (64-bit) Capabilities RDD DBF, DBFFPT, DBFNSX, SIXCDX, DBFCDX, SDF, DELIM, DBFBLOB, DBFNTX Version Harbour 00 HB_VERSION_HARBOUR Harbour 3.2.0dev (r2004201301) 01 HB_VERSION_COMPILER Microsoft Visual C 19.26.28805 ...
by Marc Venken
Fri Apr 02, 2021 12:53 pm
 
Forum: mod_harbour
Topic: eShop sample and a DBF product file
Replies: 11
Views: 1327

Ayuda con Mod_Harbour Mercury class

... Build date Jun 23 2020 16:45:39 Compiler Microsoft Visual C 19.26.28806 (64-bit) Capabilities RDD DBF, DBFFPT, DBFNSX, SIXCDX, DBFCDX, SDF, DELIM, DBFBLOB, DBFNTX Version Harbour 00 HB_VERSION_HARBOUR Harbour 3.2.0dev (r2004201301) 01 HB_VERSION_COMPILER Microsoft Visual C 19.26.28806 ...
by RSalazarU
Thu Mar 11, 2021 3:05 pm
 
Forum: mod_harbour
Topic: Ayuda con Mod_Harbour Mercury class
Replies: 2
Views: 438

Ayuda con Mod_Harbour Mercury class

... Build date Jun 23 2020 16:45:39 Compiler Microsoft Visual C 19.26.28806 (64-bit) Capabilities RDD DBF, DBFFPT, DBFNSX, SIXCDX, DBFCDX, SDF, DELIM, DBFBLOB, DBFNTX Version Harbour 00 HB_VERSION_HARBOUR Harbour 3.2.0dev (r2004201301) 01 HB_VERSION_COMPILER Microsoft Visual C 19.26.28806 ...
by RSalazarU
Thu Mar 11, 2021 1:45 pm
 
Forum: mod_harbour
Topic: Ayuda con Mod_Harbour Mercury class
Replies: 0
Views: 324

Re: save an array on text

Can't you use copy to SDF? no I wish create a source code i wish insert this source code into my application because I not want use that dbf I could write it by hand but it would take me a lifetime I don't have to print that array I ...
by Silvio.Falconi
Wed May 13, 2020 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: save an array on text
Replies: 10
Views: 947

Re: save an array on text

Can't you use copy to SDF?
by Otto
Wed May 13, 2020 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: save an array on text
Replies: 10
Views: 947

Caracteres 0d0a

Hola Foro: Genero un archivo txt con la sentencia: Copy To &cNomArch2 SDF Y me piden lo siguiente: "En el Refresh deben agregar en el registro final los caracteres 0d0a" Estos caracteres son de final de archivo? No los agregar por defecto la sentencia ...
by caducca
Fri Jun 07, 2019 11:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Caracteres 0d0a
Replies: 2
Views: 475

Re: Faster way then append from SDF

... Even these 2 seconds time can be reduced further: 1) The function was written for variable length records. Because you are using APPEND FROM .. SDF, I guess the records in the text file are all of a fixed length. If we modify the program to fixed length records of known record length, the reading ...
by nageswaragunupudi
Sat Feb 16, 2019 4:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Faster way then append from SDF
Replies: 11
Views: 2172

Re: Faster way then append from SDF

I don't know exactly what you doing with the new file you are creating, but if you are just processing it, then you can just use the original file indexed.


The original file is a text file. Not a dbf file.
Do you think we can create an index on the text file?
by nageswaragunupudi
Sat Feb 16, 2019 2:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Faster way then append from SDF
Replies: 11
Views: 2172

Re: Faster way then append from SDF

Marc, The problem was not going through the database, but reading the text-file. Otherwhise the condition index was a good idea. Well, I was thinking that you could eliminate the export/import and just use the original file with the index set. I don't know exactly what you doing with the new file yo...
by James Bott
Sat Feb 16, 2019 1:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Faster way then append from SDF
Replies: 11
Views: 2172

Re: Faster way then append from SDF

Marc Here is a snipit from a Find and replace file utility I wrote that opens any text file you like .... hope you get the gist on how to use .. Rick Lipkin Do While .not. Eof()       cFILE := ALLTRIM( A->FileName )   If ( nHANDLE := Fopen( cFILE )) > 0   Else  ...
by Rick Lipkin
Fri Feb 15, 2019 11:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Faster way then append from SDF
Replies: 11
Views: 2172

Re: Faster way then append from SDF

Roa, Your example is very fast :lol: Only 2sec :shock: I tested the loop without the line AAdd( aLines, { nLine, cLine } ) With this line it take 138sec :shock: :shock: :shock: . So the aadd() take a lot of time. That's no problem, because I can direcly do the content check, and on...
by Marc Vanzegbroeck
Fri Feb 15, 2019 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Faster way then append from SDF
Replies: 11
Views: 2172

Re: Faster way then append from SDF

Maybe you could create a conditional index containing only the records you need. Then you don't even have to move the records to another file. Time required to get the records you want, zero.

Just thinking outside the box.
by James Bott
Fri Feb 15, 2019 6:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Faster way then append from SDF
Replies: 11
Views: 2172

Re: Faster way then append from SDF

Will you please try this also? #include "fivewin.ch"#define BUFSIZE   64000#define EOLCHR    CRLF#define EOLLEN    2static cBuf    := ""static nStart  := 1static lEof    := .f.//----------------------------------------------------...
by nageswaragunupudi
Fri Feb 15, 2019 6:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Faster way then append from SDF
Replies: 11
Views: 2172
Next

Return to advanced search