... RETURN Does not work for me. Can I see your output? Anyway, you mixed the R lock flavor and the normal lock flavor. With DBRLOCK() you must use DBRUNLOCK(). And furthermore, APPEND BLANK operation locks the newly appended record so there is no need of another lock.
... updates in databases but requires an explicit COMMIT command to indicate that data must be written to the database. Simple DBUNLOCK()/DBRUNLOCK() is enough.
... block of the TBrowse object. It provides for standard skip behaviour when browsing data in a work area. de la ayuda de xHarbour Description The DbRUnlock() function releases a record lock for an individual record specified with <xRecno>. If no record identifier is passed to the function, ...
... block of the TBrowse object. It provides for standard skip behaviour when browsing data in a work area. de la ayuda de xHarbour Description The DbRUnlock() function releases a record lock for an individual record specified with <xRecno>. If no record identifier is passed to the function, ...
... If InsDownRecord(lRelease,.F.) //if NetRecLock(, RECNO() ) ArrayToFields(aRecord) if lUnlock DBRUnLock( RECNO() ) endif //else //MsgInfo( "El registro esta en uso, intente nuevamente", "InsDupRecord(..)" ...
... If InsDownRecord(lRelease,.F.) //if NetRecLock(, RECNO() ) ArrayToFields(aRecord) if lUnlock DBRUnLock( RECNO() ) endif //else //MsgInfo( "El registro esta en uso, intente nuevamente", "InsDupRecord(..)" ...
... - A los METODOS RecLock() y UnLock() se les ha añadido el número de registro a bloquear/desbloquear cambiando RLock() x DBRLock() y DBUnlock() x DBRUnLock(). De esta manera se persigue que se pueda realizar el bloqueo de varios registros a voluntad, evitando que al momento de ser grabados se ...
... pulse Enter para reintentar") end while ...sustituyo los valores del campo por los de las variables Archivo->(dbCommit()) Archivo->(dbRUnLock()) oBrw:refresh() end if Borrado: if lConforme while ! Archivo->(dbRLock()) MsgInfo("Registro bloqueado por otro usuario, pulse Enter ...