Beginning Access 2002 VBA (Programmer to Programmer)
| |
-
Examine the forms in the sample database. Do you think that any error routines could be removed and a global error routine used instead? What would be the disadvantage of this?
-
Having thought about a central error routine, create one. Give it two arguments: strProc, which should be the name of the procedure that calls the routine, and optionally , strDesc , for a general description. The routine should check to see if the error was a VBA error or a Data-Access error, and display any messages in a message box, along with the procedure that called the routine, and the additional text.
-
List three types of testing you can perform on an application. Now take any application you have created, and test it, using these three methods . Swallow you pride and ask a colleague to do the same does you application pass?
| |