Thankyou for answering, it is really helpful!!
I have realised another problem, how can I restrict students to edit/ change the code, because I have only restricted them from entering the switchboard, but they will be able to change the code, details in tables queries, etc.
THANKYOU!!