I
ILIR ISTREFI
I would be grateful if anyone can help me with this code.
1. I have created Table USERS with these fields: No.(autonumber),
USER(text), Password(text)***.
2. Then have I created Form named LOGIN which looks something like the
drawing bellow (2 fields for entering Username & Password + Login button).
This form has no source table at all.
----------------------------------------------
Please enter Username and Password
User:____________ ________
+ +
+LOG IN +
Password:________ +_______+
----------------------------------------------
3. On this database I made Macro named Quit which Quits the Database and I
have created a Switchboard as well.
-What I need now is a code for the Log IN button that would check if
appropriate fields from LOGIN Form match with ones on table USERS, If YES
then open Switchboard, if No then run Quit Macro.
P.s. I Dont want to use MS Access User Accounts because on the computer
which my database is running there are few other databases randomly accessed
by other users.
1. I have created Table USERS with these fields: No.(autonumber),
USER(text), Password(text)***.
2. Then have I created Form named LOGIN which looks something like the
drawing bellow (2 fields for entering Username & Password + Login button).
This form has no source table at all.
----------------------------------------------
Please enter Username and Password
User:____________ ________
+ +
+LOG IN +
Password:________ +_______+
----------------------------------------------
3. On this database I made Macro named Quit which Quits the Database and I
have created a Switchboard as well.
-What I need now is a code for the Log IN button that would check if
appropriate fields from LOGIN Form match with ones on table USERS, If YES
then open Switchboard, if No then run Quit Macro.
P.s. I Dont want to use MS Access User Accounts because on the computer
which my database is running there are few other databases randomly accessed
by other users.