Good Afternoon,
I know there is very nice code to apply to an Access db that can log ALL users out after a specified amount of time. What I’m searching for is to an adaptation of the code that would log off A SPECIFIC user.
There are times when A user has a problem, the IT department needs to be contacted to bump this user off. However, I’m hoping to find alternative to this. Currently I’m working in this direction:
Pull ONLY specific records rather than using the entire rst.[/b]
SQL statement to look a table where a field (yes/no) is True and include the field that has the users login name (2 fields).
Using the SQL statement set the variable (value of the field for user’s LoginName)
Using the Variable in a FOR EACH NEXT statement to bump each user off.
application.quit
However, I haven’t had any success. With my entire code, I don’t get an error, but the user isn’t logged out either. I suspect this has something to do with the .ldb file.
Does anyone know of any such code or ability.