SetanPutih
Registered User.
- Local time
- Today, 08:56
- Joined
- Jun 27, 2019
- Messages
- 27
So the way the database works is once the database is opened the login window "frmlogin" appears (Picture 3). Once a member of staff matches their name and password they are direct to "Form1" which is a control window where the member of staff can access reports and apply for annual leave etc.. If Admin logs in using the sign in name Admin and matches the password, the user is directed to a different window called "frmPCSManager".
Currently if a member of staff logs in they are directed to the correct form "Form1" BUT if Admin logs in, it just stays on the login screen. If I exit the login screen it directs me to "frmPCSManager" which I want to access through pressing the Login button rather than exiting the login screen.
I've gone through the coding again Picture 1 & 2 and I can't understand why it's not directing me to "frmPCSManager" once the Login button is pressed in the similar fashion that members of staff can access "Form1" from pressing the login button.
Thanks for your input @Gasman
Currently if a member of staff logs in they are directed to the correct form "Form1" BUT if Admin logs in, it just stays on the login screen. If I exit the login screen it directs me to "frmPCSManager" which I want to access through pressing the Login button rather than exiting the login screen.
I've gone through the coding again Picture 1 & 2 and I can't understand why it's not directing me to "frmPCSManager" once the Login button is pressed in the similar fashion that members of staff can access "Form1" from pressing the login button.
Thanks for your input @Gasman