Search found 211 matches: unlock

Return to advanced search

Re: oDbf:Delete() error

then DO WHILE !oPermessi:EoF() oPermessi:Lock() oPermessi:Exec( { || DELETE FOR oPermessi:Usuario==oUtenti:Clave } ) oPermessi:Unlock() oPermessi:Skip() ENDDO is it right ? make me error source\test.prg(688) Error E0030 Syntax error "syntax error at 'FOR'" 1 error No, it's not ...
by Marc Venken
Sat Jun 05, 2021 8:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oDbf:Delete() error
Replies: 15
Views: 1307

Re: oDbf:Delete() error

then DO WHILE !oPermessi:EoF() oPermessi:Lock() oPermessi:Exec( { || DELETE FOR oPermessi:Usuario==oUtenti:Clave } ) oPermessi:Unlock() oPermessi:Skip() ENDDO is it right ? make me error source\test.prg(688) Error E0030 Syntax error "syntax error at 'FOR'" 1 error
by Silvio.Falconi
Fri Jun 04, 2021 8:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oDbf:Delete() error
Replies: 15
Views: 1307

Re: oDbf:Delete() error

Silvio.Falconi wrote:Nages,
someone (an american boy) sad me not use lock and unlock (and commit) because
tdatabase make it auto.


Not FLOCK
by nageswaragunupudi
Fri Jun 04, 2021 2:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oDbf:Delete() error
Replies: 15
Views: 1307

Re: oDbf:Delete() error

Nages,
someone (an american boy) sad me not use lock and unlock (and commit) because
tdatabase make it auto.
by Silvio.Falconi
Fri Jun 04, 2021 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oDbf:Delete() error
Replies: 15
Views: 1307

Re: oDbf:Delete() error

When you want to delete multiple records for a given condition

oDbf:Lock()
oDbf:Exec( { || DELETE FOR <cond> } )
oDbf:Unlock()
by nageswaragunupudi
Fri Jun 04, 2021 5:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oDbf:Delete() error
Replies: 15
Views: 1307

Re: Proteger Celda Excel

Ya encontré en el foro la solucion: //To "Lock" or "Unlock" a cell use: oSheet:Range("A1","A10"):Locked:=.f. //(or .t. to lock) //Then to protect the locked cells: oSheet:Protect( "12345") //To Unprotect the ...
by servicomver
Fri May 14, 2021 1:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Proteger Celda Excel
Replies: 2
Views: 277

Re: Speedtest CLIPPER vs. xHarbour - COMMIT

... file. The 1-st action is executed also by any other rdd operation which may cause record reloading or may need to synchronize modifications, f.e. unlock. You can simulate it in many different ways, f.e. by skip(0). The 2-nd action is unique to dbcommit and it's not necessary for any synchronizations ...
by Antonio Linares
Fri Apr 30, 2021 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest CLIPPER vs. xHarbour - COMMIT
Replies: 20
Views: 5862

Re: Colgado al agregar un registro

... 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 aqui en el foro hay bastantes ejemplos
by artu01
Thu Oct 08, 2020 5:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Colgado al agregar un registro
Replies: 7
Views: 1084

Re: HDORDD. Importando datos desde dos conexiones diferentes.

... si SELECT() si SELECT(“CLIENTES”) si SET FILTER ? SET SCOPE TO ( cSERIE + StrZero( NUMERO_ORI,20 ) ) ? SUM CLIENTES->IMPORTE TO Ntotal ? UNLOCK ALL si ZAP La "?" no significa que no esté si no que no lo he probado aún. En cuanto a lo indices el concepto en SQL es ordenancion ...
by xmanuel
Sun Apr 26, 2020 11:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: HDORDD. Importando datos desde dos conexiones diferentes.
Replies: 12
Views: 1753

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

Re: Amount of users on network

Hello Marc,

I don't sure, but I think one way can be to lock a record in a table (dbf) users while the user is logged, when the user logout, unlock the record, I think (no sure) when client lost the conection, the record is unlocked automatlicaly, you can test

saludos

Marcelo
by Marcelo Via Giglio
Wed Oct 09, 2019 8:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Amount of users on network
Replies: 3
Views: 795

Re: se requiere bloqueo con APPEND BLANK

... comprobar si lo ha conseguido. APPEND BLANK IF !NETERR() // ... ELSE ? "Error en bloqueo " ENDIF Y ojo no te olvides de efectuar unlock después . Saludos José. Enviado desde mi POCOPHONE F1 mediante Tapatalk
by jvtecheto
Sun Sep 15, 2019 8:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: se requiere bloqueo con APPEND BLANK
Replies: 3
Views: 1061

Re: Small Invoice with tdatabase

... 5 except for the details on resitems.dbf first deleting all the records with the number nInvoice and then inserting all the content in aItems 5 unlock the record in reserva.dbf
by Silvio.Falconi
Mon Aug 12, 2019 10:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Invoice with tdatabase
Replies: 6
Views: 1235

Re: strange problem with tdatabase

... the record on reserva.dbf 2) upload the invoice details to aItems 3) work on xbrowse 4) save on Resitems.dbf 5) save the record on reserva.dbf 6) unlock the record on reserva.dbf but I still haven't figured out how I can do it
by Silvio.Falconi
Sun Aug 11, 2019 9:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange problem with tdatabase
Replies: 5
Views: 1056

Re: Backup - switchable hub

Hello, I would like to use the USB HUB for a security solution. Therefore I asked the producer if there is a USB HUB where you need a password to unlock the port. ykushcmd.exe -d 3 PW xxxtest Without knowing the PW or the serial number, unlocking should not be possible. To copy ykushcmd.exe and ...
by Otto
Tue Jul 02, 2019 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Backup - switchable hub
Replies: 6
Views: 1201
PreviousNext

Return to advanced search