Search found 249 matches: locking

Return to advanced search

Re: DBF . Commit

... to flush (write) its disk buffers to physical device (HARD COMMIT). It's out of application control what OS (or FS) do with such request. The locking and buffer flushing in Clipper and Harbour RDDs is safe and user cannot desynchronize data using different instruction order, i.e. DBSKIP(0)/UNLOCK/COMMIT,... ...
by Carles
Mon Oct 23, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2332

Re: Forcing to unlock a record

There is a detail in the ads that must be observed when locking a record. In a situation where we use a register to follow a sequence of numbers automatically and in the attempt at the exact moment another user is executing the addition of the number ...
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: Forcing to unlock a record

Driessen, I think there is another way to handle your problem, but it is a bit complicated. Instead of the program locking a record when a user opens it and only unlocking it when the record is saved, the record is only locked for a split second when the record saved. Thus, nobody ...
by James Bott
Thu Dec 01, 2022 1:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 786

Re: dbase III/IV file encrypted

... (alias) for this workarea */ #define DBI_GETSCOPE 34 /* The codeblock used in LOCATE */ #define DBI_LOCKOFFSET 35 /* The offset used for logical locking */ #define DBI_SHARED 36 /* Was the file opened shared? */ #define DBI_MEMOEXT 37 /* The memo file's file extension */ #define DBI_MEMOHANDLE ...
by lorenzoazz
Sat Jan 29, 2022 1:17 pm
 
Forum: All products support
Topic: dbase III/IV file encrypted
Replies: 8
Views: 1146

Re: Name of the user

Hi, Why don't you use this function : WNetGetUser() Good luck. I guess probably because he's looking for someone connected to the server or locking a file. You can use the following function to start working. FUNCTION TstUser()LOCAL cDest := "procown.ps1"LOCAL   nHndlnHndl ...
by ADutheil
Thu Dec 09, 2021 3:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Name of the user
Replies: 3
Views: 494

Re: Problem with tdatabase

... I want to add a record, I open the file, get the proper value ( there are fields for each file ), increment it by one, then save the new value. Locking applies. Again, it takes milliseconds to do this, and with hundreds of thousands of records written each year, my clients have NEVER encountered ...
by Silvio.Falconi
Tue Dec 07, 2021 8:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tdatabase
Replies: 14
Views: 1838

Re: Problem with tdatabase

... I want to add a record, I open the file, get the proper value ( there are fields for each file ), increment it by one, then save the new value. Locking applies. Again, it takes milliseconds to do this, and with hundreds of thousands of records written each year, my clients have NEVER encountered ...
by TimStone
Mon Dec 06, 2021 11:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tdatabase
Replies: 14
Views: 1838

Re: Speedtest DBF vs. LetoDB and mySQL

... "Share" a "File-Based" System using SMB SMB will "slow down" when 2nd User open same DBF -> "Opportunistic Locking" so i ask for at least 2 x PC and "Server" to simulate Access Time. I just opened five copies of my test browse program, all ...
by James Bott
Wed Oct 20, 2021 12:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest DBF vs. LetoDB and mySQL
Replies: 22
Views: 1777

Re: Speedtest DBF vs. LetoDB and mySQL

... "Share" a "File-Based" System using SMB SMB will "slow down" when 2nd User open same DBF -> "Opportunistic Locking" so i ask for at least 2 x PC and "Server" to simulate Access Time. that is the Benefit of a Client / Server System where you ...
by Jimmy
Tue Oct 19, 2021 10:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest DBF vs. LetoDB and mySQL
Replies: 22
Views: 1777

Re: no PHP on the APACHE web server

Dear Otto,

DBFs accesses on the web are managed by Harbour (and mod_harbour) the same way as on a LAN (shared access and record locking, unlocking)

So we have the same limitations that we have on a desktop EXE working on a LAN regarding the use of DBFs: almost none :-)
by Antonio Linares
Tue Aug 24, 2021 4:15 pm
 
Forum: mod_harbour
Topic: no PHP on the APACHE web server
Replies: 6
Views: 709

Re: ADOFUNC.prg e SQLEXPRESS

... 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 locking. Mostly tables are opened with optimistic locking and there is no need to locking. If we open a table with pessimistic ...
by nageswaragunupudi
Fri Mar 19, 2021 7:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADOFUNC.prg e SQLEXPRESS
Replies: 3
Views: 545

browse with mod harbour

... access problem from the Internet if the local EXE is open. I change that quickly in the program. But it is important that you see that the record locking and the file locking are working properly. The edit function has not yet been programmed in the EXE, so we are changing the data with the dBase ...
by Otto
Fri Nov 20, 2020 11:18 am
 
Forum: mod_harbour
Topic: browse with mod harbour
Replies: 3
Views: 614

Re: Intentando de nuevo el uso de SQL

MS Access and MS Sql Server can use opportunistic locking .. Our Friend Rao has developed ADO Sql Wrappers that simplify the code below ... oRsEmp := TOleAuto():New( "ADODB.Recordset" )oRsEmp:CursorType     := 1 ...
by Rick Lipkin
Sat Oct 17, 2020 7:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Intentando de nuevo el uso de SQL - Solucionado
Replies: 5
Views: 911

New FTDN December 2019 (FWH 19.12)

... * FWMariaRowSet: New sample fwh\samples\marialok.prg for locking records while editing. http://forums.fivetechsupport.com/viewtopic.php?f=3&t=37928 * FWMariaRowSet METHOD EditBaseRecord( cFieldList, lNew, ...
by Antonio Linares
Sat Dec 21, 2019 5:59 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December 2019 (FWH 19.12)
Replies: 2
Views: 3030

Re: Insertar/Modificar registros en ACCESS

... If you do not want to make the changes during edit but after closing the window, then open the reocordset with "adLockBatchOptimistic" locking and towards the end save all the changes by calling oRs:UpdateBatch() before calling oRs:Close() Note: We advise you use the default mode (i.e., ...
by nageswaragunupudi
Wed Dec 04, 2019 5:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Insertar/Modificar registros en ACCESS
Replies: 5
Views: 869
Next

Return to advanced search