Search found 350 matches: commit

Return to advanced search

Re: Crear librerias de Harbour BCC74 Me genera error

I still have some errors when compiling Harbor 3.2 (latest git commit) with BCC 7.70 - 64bits, even running hrbfix.exe The following error follows: ilink64.exe  -L"..\..\..\..\..\lib\win\bcc64" -Gn -Tpe  -LD:\devel\bcc77_64\LIB -Ld:\devel\harbour_bcc77_64\lib\win\bcc64 ...
by sygecom
Mon Mar 25, 2024 4:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear librerias de Harbour BCC74 Me genera error
Replies: 28
Views: 2247

Problema super raro (SOLUCIONADO)

... es una tabla temporal, no hay mensajes de error salgo del PRG y reviso la tabla y solo hay dos registros aunque adicioné mas de dos. He puesto un COMMIT y tampoco funciona Algun hilo?, ya copie código de otros PRGs, ya intenté con el comando INSERT y no hay éxito    oRsWrk:AddNew()   oRsWrk:Fields("WRK_FAC"):VALUE ...
by Armando
Sat Mar 23, 2024 6:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 226

Re: How to build Harbour 32 & 64 bits

A partir del ultimo commit de harbour 2023-11-22 09:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) He intentado construir harbour con BCC77 y da el siguiente error bcc32.exe   -I. -I../../../../../../include -q -tWM -CP437 ...
by Joaquim Ferrer
Thu Nov 23, 2023 3:09 pm
 
Forum: Utilities / Utilidades
Topic: How to build Harbour 32 & 64 bits
Replies: 38
Views: 31580

Re: DBF . Commit

Rick Lipkin wrote:I will say that I find dbCommitt() very slow when you are adding many records at one time with a dbCommitt between appends.


Of course. One COMMIT at the end is enough.
by Enrico Maria Giordano
Thu Oct 26, 2023 7:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214

Re: DBF . Commit

Otto wrote:This function detects data changes even if there was no commit.


This is not what I get. Please, show us an example that prints different date/time after REPLACE without COMMIT.
by Enrico Maria Giordano
Thu Oct 26, 2023 7:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214

Re: DBF . Commit

For Me ... all my data is written to memory variables when the data needs to be saved I can append the data or edit the data and the last thing I do with dbfcdx is to move the record pointer after I write to the disk with GoTo Recno() ADO is a bit different with SQL .. Recordsets can be added to or ...
by Rick Lipkin
Tue Oct 24, 2023 4:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214

Re: DBF . Commit

Actually, we can obtain all this information with greater ease using the FileSystemObject.

Dear Mr. Rao,

Thank you so much. This is a very useful function and it's working well. This function detects data changes even if there was no commit.

Best regards,
Otto
by Otto
Mon Oct 23, 2023 6:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214

Re: DBF . Commit

Actually, we can get all this information with greater ease, using FileSystemObject. function FileInfo( cFile )   SET DATE GERMAN   SET CENTURY ON   SET TIME FORMAT TO "HH:MM:SS"   DEFAULT cFile := "customer.dbf"   if File...
by nageswaragunupudi
Mon Oct 23, 2023 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214

Re: DBF . Commit

Dear Mr. Otto Can you show me how to add GetFileAttributesEx from WINDOWS API. #include "fivewin.ch"//----------------------------------------------------------------------------//function Main()   local cFile := "tutor01.prg"   local hInfo   ...
by nageswaragunupudi
Mon Oct 23, 2023 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214

Re: DBF . Commit

... ) writes all local modifications (if any) and then discards local record buffer so record has to be read again when any field is accessed. 3. DBCOMMIT() writes all local modifications in table and index files then it sends to system or file server request to flush (write) its disk buffers to ...
by Carles
Mon Oct 23, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214

Re: DBF . Commit

I think CLOSE is enough. Yes, you don't need to COMMIT after CLOSE. It's such a pity that only a few still use DBF here. Especially with mod harbour, DBF files are optimal. It's like on a single-user system and without the overhead of an SQL server. ...
by Enrico Maria Giordano
Mon Oct 23, 2023 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214

Re: DBF . Commit

Dear Enrico, dear Mr. RAo, What about CLOSE. Many users use UNLOCK COMMIT CLOSE in their code. I think CLOSE is enough. But we also need built-in functions that can detect the actual data status. And this status is the cache status. Like the EXPLORER Perhaps ...
by Otto
Mon Oct 23, 2023 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214

Re: DBF . Commit

nageswaragunupudi wrote:So, let is be clear on this:
1. COMMIT is safe and ensures all data is physically written the disk. But not necessary to make the changes visible to other users.
2. UNLOCK is all that is enough to make the changes visible to users across the network.

Hope Mr. Enrico agrees on this.


Yes, I agree.
by Enrico Maria Giordano
Mon Oct 23, 2023 7:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214

Re: DBF . Commit

Dear Mr. Rao, thank you. Can you show me how to add GetFileAttributesEx from WINDOWS API. Thank you in advance and best regards Otto To retrieve file size, date, and time information in C++ similarly to how Windows Explorer does, you can use the Windows API. The GetFileAttributesEx function can be u...
by Otto
Mon Oct 23, 2023 5:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214

Re: DBF . Commit

Next: So, what does this HARDCOMMIT setting do? After going through some low level functions in (x)Harbour rdd like: static HB_ERRCODE hb_dbfFlush( DBFAREAP pArea ){   // ... some code ...   if( hb_setGetHardCommit() ...
by nageswaragunupudi
Mon Oct 23, 2023 5:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2214
Next

Return to advanced search