I have developed a tool that must get data and send data to an Access database.
I has to be an excel frontend.
Each user has a copy of the excel file in their PC, so I can achieve multiple user access. Each user works with certain records, so there are no concurrency issues (there is a table with the list of users and each group of record is linked to a user through relations). All users work in the database with the same MS access user when I set the ADO connection to the database.
Unfortunately there is a requirement that can cause some concurrency problems I fear. With a special tool, User 1 can work with User 2's records so I wonder what may happen if User 2 saves data al minute 10 and then User 1 saves data (the same records then) at minute 13.
Is there a way to control this? I don't know if using different access users would make the trick. I don't want wicked access warnings appearing in the excel tool that users may not understand.
I would much appreciate your thoughts.
EDIT: I was thinking that I may include a field in the users table that informs if Iser1 is already connected, so the tool wouldn't allow othe user to use this user. The problem is that I may need some countdown macro in Access that might work automatically to cahnge the "connected" value if the excel frontend crashes, the user kills the app, etc.
Bookmarks