I have multi users (on different machines on the network) accessing a certain table to read a record. I want to lock the table when 1 user reads the table, so the other user gets a message that the table is locked, and will not be able to read that record until the table is released.
Is there a way how to write this in code?
Is there a way how to write this in code?