Exercises

team lib
  1. 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?

  2. 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.

  3. 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?

 
team lib


Beginning Access 2002 VBA
Beginning Access 2002 VBA (Programmer to Programmer)
ISBN: 0764544020
EAN: 2147483647
Year: 2003
Pages: 256

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net