Escolar Documentos
Profissional Documentos
Cultura Documentos
3E)
2)
The 2nd part of this macro opens up the Query “qryUsername+Password” which asks the system
weather the data inputted into the systems login screen matches anything that is on the systems files.
The 3rd part of this macro closes the query that the 2nd part of the macro has opened.
The 4th part of this macro is a message box which only opens if the data inputted into the login screen
is correct, if it is then the message box will display a welcome message.
The 6th part of this macro is a message box which only opens if the login details do not match
anything which is in the query, it tells the user that the inputted data doesn’t match anything and
prompts them to retype the details.
Ryan Hunt
In the condition column there are 4 Dcount’s which says if the inputted details on the login screen
is correct to the query “qryUsername+Password” then if its correct (=1) then those actions will
work but if it is incorrect (=0) then only that action will work.
4C)
2)
Ryan Hunt