Hi all. Being new to access and wanting to build some kind of basic CRM software, I have the following problem. I have a table called users with the fields: UserID, UserName, UserPass and UserType. There are let's say 2 records with "admin" word in the UserType field and 3 more records with the "user" word in the same field. After the user is putting his password and hit login button, i need to open the "base" form.
This "base" form has 3 buttons: "AddEvent" "ViewEvents " and "ReportEven ts" but:
1. The "ReportEven ts" must not be visible by the users that does not have "admin" in the UserType field of his UserName
2. After login, if the user hit the "ViewEvents " button, they must view only the records that he put in.
How can i do that, please?
Thank you.
Best regards,
Gabriel
P.S. Sorry for posting this in the wrong topic.
This "base" form has 3 buttons: "AddEvent" "ViewEvents " and "ReportEven ts" but:
1. The "ReportEven ts" must not be visible by the users that does not have "admin" in the UserType field of his UserName
2. After login, if the user hit the "ViewEvents " button, they must view only the records that he put in.
How can i do that, please?
Thank you.
Best regards,
Gabriel
P.S. Sorry for posting this in the wrong topic.
Comment