Search found 130 matches: dbcommit

Return to advanced search

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 ...
by Carles
Mon Oct 23, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2323

Re: chatGPT writes and executes Harbour code !!!

... family gathered around the tree to exchange gifts. Mary used the AEVAL keyword to evaluate each gift and express her gratitude. She then used the DBCOMMIT keyword to save her appreciation in her heart and the DBUSEAREA keyword to open the database table containing her own gift for her family. ...
by Jimmy
Mon Dec 26, 2022 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: chatGPT writes and executes Harbour code !!!
Replies: 35
Views: 2784

Re: Nuevo FWH 22.10

... CUST->CITYCUST->( dbRollBack() )? CUST->CITY  Note: dbRollBak() works only when the Record Pointer is not moved and DBCOMMIT() is not executed already thanks for the reply. I will make the case: ? CUST->CITYCUST->CITY := "CHANGED"? CUST->CITYCUTS->( ...
by VictorCasajuana
Wed Nov 02, 2022 4:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo FWH 22.10
Replies: 6
Views: 654

Re: Nuevo FWH 22.10

... CUST->CITYCUST->( dbRollBack() )? CUST->CITY  Note: dbRollBak() works only when the Record Pointer is not moved and DBCOMMIT() is not executed already
by nageswaragunupudi
Wed Nov 02, 2022 3:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo FWH 22.10
Replies: 6
Views: 654

DBF: ROLLBACK (built-in feature)

... carefully. 2) RollBack does not work with DBAPPEND(). In real time applications, we need to use some work arounds. We already know the functions: dbCommit() // works on current work area and dbCommitAll() // command COMMIT. From the next version FWH provides two new functions: dbRollBack() and ...
by nageswaragunupudi
Sat Sep 10, 2022 4:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF: ROLLBACK (built-in feature)
Replies: 1
Views: 349

Re: ADO RDD xHarbour

To All

As far as updating any .dbf record ... I use goto Recno() .. that in many cases mimics dbCommit() .. goto Recno() forces the record pointer to move albeit .. back to itself.

Rick Lpkin
by Rick Lipkin
Fri Apr 22, 2022 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446232

Re: Speedtest CLIPPER vs. xHarbour - COMMIT

karinha wrote:dbCommit (), Forces Windows to record data in the field in case of a power failure, for example.


I agree.

EMG
by Enrico Maria Giordano
Fri Apr 30, 2021 4:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest CLIPPER vs. xHarbour - COMMIT
Replies: 20
Views: 5714

Re: Speedtest CLIPPER vs. xHarbour - COMMIT

To All I still contend that when when you finish adding or editing a record in a .dbf .. a simple Goto Recno() is just as good as dbCommit() .. because you are moving the record pointer which flushes the buffers ... Rick Lipkin Sorry. I do not agree. https://vivaclipper.wordpress.com/2014/01/17/dbcommit/ ...
by karinha
Fri Apr 30, 2021 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest CLIPPER vs. xHarbour - COMMIT
Replies: 20
Views: 5714

Re: Speedtest CLIPPER vs. xHarbour - COMMIT

To All

I still contend that when when you finish adding or editing a record in a .dbf .. a simple Goto Recno() is just as good as dbCommit() .. because you are moving the record pointer which flushes the buffers ...

Rick Lipkin
by Rick Lipkin
Fri Apr 30, 2021 2:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest CLIPPER vs. xHarbour - COMMIT
Replies: 20
Views: 5714

Re: Speedtest CLIPPER vs. xHarbour - COMMIT

Joao, https://harbour.harbour-project.narkive.com/9YO3sx4r/speedtest-clipper-vs-xharbour-commit dbCommit() make two things: 1. write application memory buffers to file. 2. send to OS request to flush disk buffers releated to open file. The 1-st action is executed ...
by Antonio Linares
Fri Apr 30, 2021 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest CLIPPER vs. xHarbour - COMMIT
Replies: 20
Views: 5714

Re: Colgado al agregar un registro

... Creo recordar que el problema es que no das tiempo a que se grabe fisicamente el registro. Debes darle un instante y forzar el grabado con el DBCOMMIT(), antes de refrescar.   (cAlias)->(dbAppend(lUnLock))   If !NetErr() // Si no hay error  ...
by JESUS MARIN
Thu Oct 08, 2020 11:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Colgado al agregar un registro
Replies: 7
Views: 1038

Re: Busqueda Incremental en Xbrowse Lenta en Red "URGENTE"

vi tu código, por lo visto estas usando dbCommit(), sacalos todos, ese es el primer punto a corregir, esa instrucción en redes novell produce una tremenda lentitud inexplicablemente, que en forma local no se percibe, por otro lado, el xbrowse ...
by armando.lagunas
Wed May 06, 2020 4:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Busqueda Incremental en Xbrowse Lenta en Red "URGENTE"
Replies: 21
Views: 2661

Re: simulate dbzap

... nRecords:= (cAlias)->(reccount()) For n= 1 to nRecords (cAlias)->(DbGoto(n)) IF!Occupato((cAlias)) (cAlias)->(DbDelete()) (cAlias)->(DbCommit()) (cAlias)->(DbUnlock()) ENDIF next the problem is then how recreate the index file cdx or refresh it
by Silvio.Falconi
Thu Jan 03, 2019 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: simulate dbzap
Replies: 9
Views: 1758

Re: Favor Ayuda PROGRAMA LENTO WINDOWS 10 64 Bits SOLUCIONADO

... de revisar y probar cada una de las opciones que me indicaron, aplique la modificacion del Codigo de " Armando Lagunas ", saque los Dbcommit() de los Do While y recupero la velocidad que tenia en Windows XP. Infinitas gracias a todos. Muchos Saludos Antonio.
by remtec
Wed Oct 10, 2018 6:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Favor Ayuda PROGRAMA LENTO WINDOWS 10 64 Bits
Replies: 6
Views: 1116

Re: Favor Ayuda PROGRAMA LENTO WINDOWS 10 64 Bits

tuve ese problema hace muchos años con tablas dbf. el problema es el dbcommit() sacalo del do while...endo de tu proceso y lo colocas después del enddo y antes de cerrar la tabla dbf. lo haria asi: Sele GENEFACSeek dtos(cFecha_exa)Do While (Fec_rec=dtoc(cFecha_exa).and.!eof())  ...
by armando.lagunas
Wed Oct 10, 2018 4:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Favor Ayuda PROGRAMA LENTO WINDOWS 10 64 Bits
Replies: 6
Views: 1116
Next

Return to advanced search