Search found 153 matches: locks

Return to advanced search

Re: slowness

... opened second Time it will switch into "Opportunistic Locking" Mode https://learn.microsoft.com/de-de/windows/win32/fileio/opportunistic-locks it have to do with Cache which in "Opportunistic Locking" Mode is much slower while must take Care when Data is opened by Different ...
by Jimmy
Thu Sep 12, 2024 1:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 75
Views: 3301

Re: Propuesta para que hagan un curso virtual FW

Otto .. here is a sample data entry that I use to determine ownership of the software ... notice there are no record locks, and to save a record all you have to use is the method oRs:Update() // ownview.prg////#INCLUDE "FIVEWIN.CH"//-------------------------------FUNC _OwnView( ...
by Rick Lipkin
Fri Jul 12, 2024 12:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Propuesta para que hagan un curso virtual FW
Replies: 302
Views: 35496

Re: DBF File Parsing with PHP - low-level file reading

... But with stateless, it’s great. I also worked similarly on PocketPC – there we didn’t have DBF either. Word, Excel, Access also don’t have file locks but make parallel lock files. I do it the same way. I have an update of the code here. Best regards, Otto #include "FiveWin.ch"PROCEDURE ...
by Otto
Wed Jun 19, 2024 11:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF File Parsing with PHP - low-level file reading
Replies: 18
Views: 1235

Why You Should Stick with DBF or Access Databases for Now

... flexibility in data changes. Tables can be easily exchanged by copying, and data editing directly on a USB stick is possible. Features like record locks ensure data integrity during simultaneous accesses. This flexibility and simplicity are particularly beneficial for small businesses. Stability ...
by Otto
Sun Jun 16, 2024 7:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Why You Should Stick with DBF or Access Databases for Now
Replies: 5
Views: 602

Re: DBF . Commit

... different instruction order, i.e. DBSKIP(0)/UNLOCK/COMMIT,... The only problems which can appear are in OS or FS, i.e. the infamous opportunistic locks is MSDN networks which may completely break applications using concurrently the same files and synced by file range and file access locks. This ...
by Carles
Mon Oct 23, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 5414

Re: DBF . Commit

... 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.
by Enrico Maria Giordano
Sun Oct 22, 2023 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 5414

Re: Forcing to unlock a record

... a possibility that this record can unlocked by another user? Thank you. Not possible. In ADS, Administrator can kill a user. That frees all his locks. Well behaved programs never lock a record and wait for a user action. Lock only when all data is ready, then lock and write all data and unlock ...
by nageswaragunupudi
Wed Nov 16, 2022 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 1208

Re: special Codeblock Syntax under Fivewin

This is xHarbour style of extended codeblock <|oLbx|    local oRect := oDlg:  GetCliRect  (  )       oBar:  nWidth := oRect:  nWidth       oLbx:  nWidth := oRect:  nWidth -   210    RETURN   NIL >  Harbour style {|oLbx|    local oRect := oDlg:  GetCliRect  (  )       oBar:...
by hua
Mon Nov 07, 2022 10:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: special Codeblock Syntax under Fivewin
Replies: 10
Views: 664

Re: Transaction security with DBF

... table. If you want to actually remove them, you can pack the table with PACK. Rows that were just edited are returned to their saved values. All locks made during a transaction are maintained until the transaction is completed. This ensures that no one else can make any changes until the transaction ...
by Otto
Fri Sep 09, 2022 6:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Transaction security with DBF
Replies: 9
Views: 998

2206 - 64 bit errors (solved)

... I get a MsgInfo() saying TBAR, and then one saying TXBROWSE. These tend to repeat on any dialogs using the bar control and the browse control. It locks up the program. The exact same code compiled with the 32 bit FWH is working. However, I am trying to actually focus on full 64 bit development. ...
by TimStone
Thu Jun 30, 2022 11:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 2206 - 64 bit errors (solved)
Replies: 7
Views: 635

Re: dbfntx very slow with 2+ users

hi Marc, I also have no idea about the SMB problem (no idea what SMB is (look into it) read here about Opportunistic locks (oplocks) https://docs.microsoft.com/en-US/windows/win32/fileio/opportunistic-locks this Paper is about : "What's New in SMB" Applies To: ...
by Jimmy
Thu Apr 14, 2022 7:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbfntx very slow with 2+ users
Replies: 41
Views: 8825

New FTDN March/Marzo 2022 (FWH 22.03)

... and pushes all records down by one record. Optionally writes non empty values of aValues to the inserted record. When the function returns all locks are removed. * Cursors: Cursor can be defined from a file (cur/ico) also. eg DEFINE CURSOR oCur FILE "mycur.cur" During runtime, cursor ...
by Antonio Linares
Sun Apr 10, 2022 7:02 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2022 (FWH 22.03)
Replies: 1
Views: 1360

Re: dbase III/IV file encrypted

... #define DBI_FOUND 29 /* Same as found() */ #define DBI_FCOUNT 30 /* How many fields in a record? */ #define DBI_LOCKCOUNT 31 /* Number of record locks */ #define DBI_VALIDBUFFER 32 /* Is the record buffer valid? */ #define DBI_ALIAS 33 /* Name (alias) for this workarea */ #define DBI_GETSCOPE ...
by lorenzoazz
Sat Jan 29, 2022 1:17 pm
 
Forum: All products support
Topic: dbase III/IV file encrypted
Replies: 8
Views: 2180

Re: Name of the user

... shell window from appearing, the script must be run through Wscript and cmd.exe . Of course, I made a flag DBF, where each launching application locks its own line. But it seemed to me that by viewing all processes through WMI, you can find out the name of the user on whose behalf a particular ...
by Natter
Thu Dec 09, 2021 4:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Name of the user
Replies: 3
Views: 571

Re: DBU

... NOT handle the memo fields. In fact, when going into a memo field on an individual record, it just gives the hour glass and spinning circle and locks in that position. Also the Imp/Exp command does nothing but show a popup dialog. These tests were only able to be performed when I commented out ...
by TimStone
Sun Nov 14, 2021 8:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DBU
Replies: 21
Views: 2900
Next

Return to advanced search