Hi all,
I have built a database for my company but the only problem I am having at the moment is that I have built a login form that records the user ID's of users that are currently in the database that I can view from a different database (Admin manager). Users are able to click a button from a main menu that returns them to the login screen where the only other button to the login one is one that is called shutdown. This simply quits the database. When a user logs off in the correct manner, it runs a delet query that removes their login credentials from the logged in users table in the admin manager. I am encountering situations where users are not doing this process correctly and are simply right clicking on the incon of the database at the bottom of the screen where all other running application icons are and selecting close. This quits the database without removing the login information. I would like to know what code I could use to disable this close function so that it still appears on the menu when they right click but it will not allow them to do so and could even display a popup advising them to log out in the correct manner. Is anyone able to assist with this at all please? I would be very very grateful as this is the only problem I have with an otherwise great build. Even if I have to say so myself. Ha ha.
Thanks folks.
Kindest regards,
Gareth (Phonik)
I have built a database for my company but the only problem I am having at the moment is that I have built a login form that records the user ID's of users that are currently in the database that I can view from a different database (Admin manager). Users are able to click a button from a main menu that returns them to the login screen where the only other button to the login one is one that is called shutdown. This simply quits the database. When a user logs off in the correct manner, it runs a delet query that removes their login credentials from the logged in users table in the admin manager. I am encountering situations where users are not doing this process correctly and are simply right clicking on the incon of the database at the bottom of the screen where all other running application icons are and selecting close. This quits the database without removing the login information. I would like to know what code I could use to disable this close function so that it still appears on the menu when they right click but it will not allow them to do so and could even display a popup advising them to log out in the correct manner. Is anyone able to assist with this at all please? I would be very very grateful as this is the only problem I have with an otherwise great build. Even if I have to say so myself. Ha ha.
Thanks folks.
Kindest regards,
Gareth (Phonik)