Search found 174 matches: rlock

Return to advanced search

Problemas con Menu POPUP.

... aadd(TablaMnu,{OpcMenu->Orden,OpcMenu->Tipo,OpcMenu->Opcion,OpcMenu->Mensaje,OpcMenu->Accion,OpcMenu->Imagen}) ,; if(Rlock(),(dbdelete(),dbunlock()),NIL) ) },,; {|| !eof() .and. PERFILFW->Usuario==Cript(Usuari) })) else MsgInfo('Usuario sin Perfil Definido') endif ...
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: Forcing to unlock a record

... moment another user is executing the addition of the number (Example) the register must be refreshed. In my tAds class this is automatic in the rLock() method METHOD RLock(f_nRecno, f_nLockSeconds) Class TAds   Local lLockRecno := .F., iForTentativa := 0, lc_nLockLoops := 0  ...
by Giovany Vecchi
Thu Dec 01, 2022 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 786

Re: Problem with tdatabase

... these types of conflicts were: 1- For sequential numbers never to be chosen by the user. 2- Auto increment or any sequential number always after rLock() In practice I use a table of traffic lights called SEMAFORO.ADT. In it I have several fixed records with the fields: 1- L_UPDATE > True = ...
by Giovany Vecchi
Sun Dec 19, 2021 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tdatabase
Replies: 14
Views: 1851

Comprobar DBF abierta

... ALIAS aMesa_1 Exclusive if !NetErr() ////compruebo si puedo abrirla o no Select 2 ///uso otra base datos para poner el resultado Go Registro if Rlock() ///NUNCA LO BLOQUEA CUANDO LA BASE DE DATOS PRIMERA ESTA OCUPADA aDatos->Enuso:=.T. Endif Else ? "no hago nada" Endif ¿ Porque ...
by servicomver
Thu Aug 19, 2021 2:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Comprobar DBF abierta
Replies: 5
Views: 495

Re: Rlock() y Unlock()

Hola a todos: Necesito un apoyo si son tan amables, actualmente programando con five-win, utilizo para bloquear un registro a usar, con la funcion Rlock(), pero lo que necesito ahora es que las misma tabla que se esta utilizando con el registro bloqueado, cuando entre una peticion de otro programa ...
by Antonio Linares
Mon Jul 26, 2021 6:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: RDD SQL , MEDIATOR, SQL RDD, Necesito Información
Replies: 22
Views: 6822

Re: BEGIN TRANSACTION

... reemplazos son como 10 bases de datos que se actualizan ahora bien: Si uso el TRY CATCH el proceso se puede interrumpir, al no poder hacer un dbrlock() de un registro por ejemplo, pero todos los reemplazos anteriores al error se hacen!!! no me sirve porque ya se produjo el reemplazo parcial ...
by rterraz
Mon May 17, 2021 6:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BEGIN TRANSACTION
Replies: 5
Views: 864

Re: ADOFUNC.prg e SQLEXPRESS

... need for SQLEXPRESS, MSSQL, ORACLE, etc. Well, you need to do it if you are using MSACCESS and adofuncs have function to do this. 2) How to run an Rlock or Flock to prevent two users from working on the same record or groups of records. We can open a table with optimistic locking or pessimistic ...
by nageswaragunupudi
Fri Mar 19, 2021 7:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADOFUNC.prg e SQLEXPRESS
Replies: 3
Views: 545

Re: ADOFUNC.prg e SQLEXPRESS

... come ADORDD. SQL è un concetto completamente diverso rispetto ai DBF e rischieresti di non usarne appieno le possibilità. 2) Come eseguire una Rlock o Flock per evitare che due utenti lavorino sullo stesso record o gruppi di record. 3) Se c'è necessità di fare manutenzione sulle tabelle Compattazione, ...
by Enrico Maria Giordano
Fri Mar 19, 2021 6:49 pm
 
Forum: All products support
Topic: ADOFUNC.prg e SQLEXPRESS
Replies: 6
Views: 1283

ADOFUNC.prg e SQLEXPRESS

... I'd start using the functions in ADOFUNC. PRG I was wondering: 1) If it is the best way to start or it is better to use ADORDD 2) How to run an Rlock or Flock to prevent two users from working on the same record or groups of records. 3) If there is a need to do maintenance on compaction, reindexing ...
by mauri.menabue
Fri Mar 19, 2021 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADOFUNC.prg e SQLEXPRESS
Replies: 3
Views: 545

ADOFUNC.prg e SQLEXPRESS

... utilizzando le funzioni presenti in ADOFUNC.PRG mi chiedevo : 1) Se è il modo migliore per iniziare o è meglio usare ADORDD 2) Come eseguire una Rlock o Flock per evitare che due utenti lavorino sullo stesso record o gruppi di record. 3) Se c'è necessità di fare manutenzione sulle tabelle Compattazione, ...
by mauri.menabue
Fri Mar 19, 2021 4:56 pm
 
Forum: All products support
Topic: ADOFUNC.prg e SQLEXPRESS
Replies: 6
Views: 1283

Re: Colgado al agregar un registro

... asi haber si desaperece los registros vacios, yo he trabajado con dbf en red años y no he tenido ese problema solo usaba los comandos basicos: rlock() para bloquear registros, unlock() para desbloquear el registro, append() para añadir nuevo registros Otra opcion podrias probar con DATABASE ...
by artu01
Thu Oct 08, 2020 5:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Colgado al agregar un registro
Replies: 7
Views: 1039

Re: urgent bugs lastest FWH and SQLRDD

I use rlock() and unlock.

Also, DbInfo( DBI_ISFLOCK ) works.
by MOISES
Sat Jan 04, 2020 8:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: urgent bugs lastest FWH and SQLRDD
Replies: 12
Views: 2978

se requiere bloqueo con APPEND BLANK

... en la línea 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? ...
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: Problem to save with tdatabase

Silvio, this test shows the logic NO rlock, unlock and append for every record needed STATIC FUNCTION SAVE_ARRAY( oCust )LOCAL  aData[3][3] aData[1][1] := "A 1"aData[1][2] := ...
by ukoenig
Sat May 25, 2019 8:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem to save with tdatabase - Resolved!
Replies: 5
Views: 612

Re: To Nages : Explain me how I must make this tdatabase

... StrZero (Val ((oDCli) -> NumCli) +1.4) ENDIF (ODCli) -> (DbAppend ()) (ODCli) - NumCli>: = CCLI (ODCli) -> Priven: = Date () ENDIF IF! Rlock (oDCli) here the other rescues of the other fields It seems absurd to me that I can not do it with tdatabase or with tdata. All this situation ...
by Silvio.Falconi
Mon Mar 04, 2019 8:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Explain me how I must make this tdatabase
Replies: 18
Views: 3313
Next

Return to advanced search