Search found 124 matches: dbunlock

Return to advanced search

Re: DBF . Commit

Enrico, but if you try like Mr. Rao said your sample is working for me. APPEND BLANK dbRLock() REPLACE FIELD ->test WITH "TEST" DbUnlock() Best regards, Otto #include "fivewin.ch"REQUEST DBFCDXREQUEST DBFFPTFUNCTION MAIN()    LOCAL cDbf := "MYTEST.DBF"  ...
by Enrico Maria Giordano
Sun Oct 22, 2023 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2340

Re: DBF . Commit

Enrico, but if you try like Mr. Rao said your sample is working for me. APPEND BLANK dbRLock() REPLACE FIELD ->test WITH "TEST" DbUnlock() Best regards, Otto #include "fivewin.ch"REQUEST DBFCDXREQUEST DBFFPTFUNCTION MAIN()    LOCAL cDbf := "MYTEST.DBF"  ...
by Otto
Sun Oct 22, 2023 4:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2340

Re: DBF . Commit

... optimize record updates in databases but requires an explicit COMMIT command to indicate that data must be written to the database.   Simple DBUNLOCK()/DBRUNLOCK() is enough.
by nageswaragunupudi
Sun Oct 22, 2023 2:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2340

Problemas con Menu POPUP.

... ,; if(Rlock(),(dbdelete(),dbunlock()),NIL) ) },,; {|| !eof() .and. PERFILFW->Usuario==Cript(Usuari) })) else MsgInfo('Usuario sin Perfil Definido') endif // MENU oMenu MENU ...
by José Camilo
Mon Jun 05, 2023 3:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con Menu POPUP.
Replies: 2
Views: 204

Re: Nuevo FWH 22.10

... not executed already thanks for the reply. I will make the case: ? CUST->CITYCUST->CITY := "CHANGED"? CUST->CITYCUTS->( DbUnlock() )  // do other process...CUST->( dbRollBack() )? CUST->CITY  Taking into account that CUST->CITY has ...
by VictorCasajuana
Wed Nov 02, 2022 4:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo FWH 22.10
Replies: 6
Views: 654

Re: Busqueda Incremental en Xbrowse Lenta en Red

... hasta mi turno. Debe existir otra lógica y pienso que mejor, pero a mi me ha funcionado esto. Veo que le has agregado un SYSREFRESH() y sacado el DbUnlock(), que tenia en la grabación ? Mi problema en cuestión es que para la búsqueda en los Xbrowse, me han pedido pedido que vaya filtrando y mostrando ...
by remtec
Fri May 01, 2020 2:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Busqueda Incremental en Xbrowse Lenta en Red "URGENTE"
Replies: 21
Views: 2662

se requiere bloqueo con APPEND BLANK

... donde hago un simple APPEND BLANK, es decir  select 40 ; append blank   replace codigop with codcli, nombrep with nom..... Pensaba que rlock() y dbunlock() debía colocarse justo cuando se editan/eliminan registros... pero NO para un simple INSERT. En este caso... ¿como debo proceder? Interponiendo ...
by Loren
Wed Sep 04, 2019 9:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: se requiere bloqueo con APPEND BLANK
Replies: 3
Views: 1034

Re: New FTDN January/Enero 2019 (FWH 19.01)

... --> nRecNo. (Registro recién agregado o reciclado, 0 en caso de error) . Ejemplo de uso: if DBFAPPEND() > 0 // assign values to fields DBUNLOCK() endif en lugar de DBAPPEND() if !NetErr() // assign values ti fields DBUNLOCK() endif - Nueva función: FW_SetRecycleDeleted( uSet ) --> ...
by Antonio Linares
Mon Feb 11, 2019 6:37 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2019 (FWH 19.01)
Replies: 4
Views: 2708

New FTDN January/Enero 2019 (FWH 19.01)

... DBFAPPEND() --> nRecNo (Newly appended or recycled record. 0 on failure) Example usage: if DBFAPPEND() > 0 // assign values to fields DBUNLOCK() endif instead of DBAPPEND() if !NetErr() // assign values ti fields DBUNLOCK() endif - New function FW_SetRecycleDeleted( uSet ) --> Previous ...
by Antonio Linares
Mon Feb 11, 2019 1:08 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2019 (FWH 19.01)
Replies: 4
Views: 2708

Re: simulate dbzap

... 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: 1759

Favor Ayuda PROGRAMA LENTO WINDOWS 10 64 Bits

... Sele b // PasoGral do while .t. Dbappend() If !neterr() repl Nro_bon with a->Nro_bon,Nom_pac with a->Nom_pac Dbcommit() Dbunlock() Exit Else // Do ocupado Endif Enddo Sele d // Detalle Seek str(a->Fol_lab,10) Do While (Nro_bon=a->Fol_lab).and.!eof() If Nro_for=0 ...
by remtec
Wed Oct 10, 2018 12:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Favor Ayuda PROGRAMA LENTO WINDOWS 10 64 Bits
Replies: 6
Views: 1125

Re: funciones de FWH y Harbour en un archivo .txt

... DBUnlock()->Nil DBUnlockAll()->Nil DBUpdate(<cAlias>,<bReplace>,<bExpression>,[<lRandom>])->lSuccess DBUseArea([<lNewArea>],[<cDriver>],<cName>,[<xcAlias>],[<lShared>],[<lReadOnly>],[<cCodePage>],[<nConnection>])->Nil ...
by carlos vargas
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: 5710

Re: funciones de FWH y Harbour en un archivo .txt

... DBRUnlock DBSeek DBSelectArea DBSetDriver DBSetFilter DBSetIndex DBSetOrder DBSetRelation DBSkip DBSkipper DBSort DBStruct DBTableExt DBTotal DBUnlock DBUnlockAll DBUpdate DBUseArea DBZap Default DefPath Deleted DeleteFile Descend DevOut DevOutPict DevPos DirChange Directory DirectoryRecurse ...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5710

Problemas biometria Sdk 2009 Griaule

... 0 ) select("Personal") APPEND BLANK IF Personal->(rlock()) REPLACE Huella WITH cTemplate Personal->(dbcommit()) Personal->(dbunlock()) ENDIF GO TOP nIdScore := 0 WHILE !eof() GrIdentifyPrepare( cTemplate, 0 ) nId:= GrIdentify( Personal->Huella, @nIdScore , 0 ) ? nId é ...
by marca
Tue Sep 20, 2016 7:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problemas biometria Sdk 2009 Griaule
Replies: 0
Views: 642

Re: Insertar registro dentro xBrowse...

... a record lock for an individual record specified with <xRecno>. If no record identifier is passed to the function, DbRUnlock() bahaves like DbUnlock() since all active record locks are released. Locking and unlocking one or more records for shared write access is the task of DbRlock() and ...
by ACC69
Thu Apr 07, 2016 5:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Insertar registro dentro xBrowse...
Replies: 16
Views: 6192
Next

Return to advanced search