Hello,
I've been looking in the net but I can't find the syntax of locking a table in Access. My purpose is to lock the table so no one else during the transaction can have access to it. I have tried this query
LOCK TABLE [document_numbers] IN EXCLUSIVE MODE
and this
SELECT *
FROM [document_numbers]
WITH (TABLOCK)
and ROWLOCK also but nothing works. The syntax I found is only about MS SQL, Oracle and some more but there is nothing about MS Access. Please if some one knows to post a replay, I will be really grateful.
Greets
P.S. This have to be able to be programmed in C#.