Search found 135 matches: dbcommit

Return to advanced search

Re: DBCOMMIT() EN DBF - SQL AUTOMATICO ?

Hace mas de 20 años que no uso DBF me colmaron la paciencia son muy corruptas y no saben de política :D MySql/MariaDb, es mas sencillo de lo que se piensa. yo lo haría de esta forma: #include "fivewin.ch"function Main()   LOCAL cCodigo  := "01"   LOCAL cDescrip := "T...
by sysctrl2
Fri May 03, 2024 6:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DBCOMMIT() EN DBF - SQL AUTOMATICO ?
Replies: 4
Views: 615

Re: DBCOMMIT() EN DBF - SQL AUTOMATICO ?

... )          REPLACE EMP->cNomSucEmp WITH "PRUEBA_SQL4"          EMP->( DBCOMMIT() )       ENDIFFavor indicar cual es la sintaxis correcta para este seudocodigo : para el #command, como para ...
by russimicro
Mon Apr 29, 2024 5:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DBCOMMIT() EN DBF - SQL AUTOMATICO ?
Replies: 4
Views: 615

Re: DBCOMMIT() EN DBF - SQL AUTOMATICO ?

Buen día... En la actualidad uso una metodología similar... pero lo que quiero es no tener que reescribir o generar nuevo código para cada tabla modificada... pensé el obtener las sentencias internas del commit y aprovecharlas para escribir en un solo método las actualizaciones a cualquier tabla. Gr...
by russimicro
Mon Apr 29, 2024 3:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DBCOMMIT() EN DBF - SQL AUTOMATICO ?
Replies: 4
Views: 615

Re: DBCOMMIT() EN DBF - SQL AUTOMATICO ?

There is no ADO Sql "commit" command ... instead when you complete updating all your sql table values .. you would just issue oRsTablename:Update() .. here is a small sample code on how I manage my sql values //---------------------------------Static FUNC  _Doit(cMODE,cUserId,cPassword...
by Rick Lipkin
Mon Apr 29, 2024 2:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DBCOMMIT() EN DBF - SQL AUTOMATICO ?
Replies: 4
Views: 615

DBCOMMIT() EN DBF - SQL AUTOMATICO ?

Buena tarde. Requiero para proceso de migracion de DBF´S a SQL NATIVO con fivewin - mariadb, interceptar el replace al momento del ALIAS->( dbcommit() ), para poder hacer la actualizacion con sql , sobre la base de datos SQL La idea es trabajar con tablas DBF de manera temporal , y no alterar ...
by russimicro
Sun Apr 28, 2024 11:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DBCOMMIT() EN DBF - SQL AUTOMATICO ?
Replies: 4
Views: 615

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: 5414

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: 4492

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: 810

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: 810

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: 423

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: 486853

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: 6327

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: 6327

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: 6327

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: 6327
Next

Return to advanced search

cron