Currently I have a project that states the following:
It started off with a main menu where user will enter their id number while administrator will enter their id(known as admin).
For user, according to their id number, the database will search through using a query and display the record in form view. It only allow the user to view.
For this, i have created a query that display the information if the id is equal to variable "a".
(Completed)For administrator, they are allow to alter, delete and add new record. They are also allow to print out a report. For this, i have created a query to display all record.
Question 1:Now the problem is that I don't know how to do the main menu? How should i be able to read the input from the textbox and place it into variable "a"?
Question 2: How do I set all textbox to read-only when loaded. And when the user click a button, the entries in the textbox is allow to be altered?
Please help me.