johncassell
Well-known member
Hi there,
Hopefully this is posted in the right forum section..
I am looking for a way for my application to alert a user if someone else is currently editing a record.
I could probably work out a way but knowing me it wouldn't be the best way.
My application requires people to log in (Although I haven't yet set this up) and if someone goes in that record, a msgbox will appear saying "Record currently being edited by John"
Would the best way to do this be to create a table called 'Users' with two columns 'Name' and 'Status' and when people log in, I use an update command to add a value of 'LoggedIn' to the Status Column. This will also populate a label on my main form with their username.
Then when they go in a job, I do another update command to the 'Jobs' table and put their username in the 'LockedBy' column?
Or is there some magic way to achieve this?
Thanks
John
Hopefully this is posted in the right forum section..
I am looking for a way for my application to alert a user if someone else is currently editing a record.
I could probably work out a way but knowing me it wouldn't be the best way.
My application requires people to log in (Although I haven't yet set this up) and if someone goes in that record, a msgbox will appear saying "Record currently being edited by John"
Would the best way to do this be to create a table called 'Users' with two columns 'Name' and 'Status' and when people log in, I use an update command to add a value of 'LoggedIn' to the Status Column. This will also populate a label on my main form with their username.
Then when they go in a job, I do another update command to the 'Jobs' table and put their username in the 'LockedBy' column?
Or is there some magic way to achieve this?
Thanks
John