Table cursor layer

<< Click to Display Table of Contents >>

Navigation:  Application development > Locking >

Table cursor layer

Previous pageReturn to chapter overviewNext page

At the bottom of the BDE locking hierarchy is the cursor layer. Only locks placed on the table when it is opened with the DbiOpenTable function are owned by the cursor. If the table is opened in exclusive mode, no other user can access that table. An exclusive lock prevents any other user from accessing the table, or placing any type of lock on it. If the table is opened in share mode, other cursors can access the table and they can acquire read or write locks on the table.

When the cursor is closed, any exclusive lock placed on the table when it was opened is released.

 

hmtoggle_plus1Locking topics