home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / access / diverses / acc_ep / acc_epb2.txt < prev   
Text File  |  1995-02-27  |  2KB  |  33 lines

  1. --------------------------------------------------------
  2. Error Procedure Builder 2 -  By Brian A. Manlove 70543,1420
  3. --------------------------------------------------------
  4.  
  5. EPB2 is the new brother of EPB, a previous version which did not
  6. insert an error MsgBox. EPB2 will give you a generic Error MsgBox.
  7.  
  8. Like EPB, EPB2 is a standard Windows Recorder macro.  It quickly inserts generic 
  9. error trapping with a generic Error MsgBox into any Access sub procedure. I have 
  10. tried some of the "wizards" that are out there, and I think this macro works
  11. better, faster, and best of all, it won't add another megabyte or two of 
  12. "maybe-it-might-work" crap on your HD.
  13.  
  14. ------------------
  15. Instructions:
  16. ------------------
  17. Unzip EPB2 to the directory of your choice (mine is in my ACCESS directory).
  18.  
  19. Launch the Windows Recorder application and open the ACC_EPB2.REC file. Get
  20. back into your Access program.  Select the property you want to add code for, 
  21. select the Code Builder, and after the sub procedure heading is displayed, 
  22. press the "hot key(s)" to run the macro.  If you do run EPB2 with some code 
  23. you have already entered, you might have to cut and paste your code
  24. back into the proper position, which is usually before the "Exit_Blah_De_Dah:"
  25. line.
  26.  
  27. The EPB2 macro has been pre-set to playback ONLY to MS Access.  I used the
  28. CTRL/ALT/HOME "hot key" as the trigger to run EPB2 - you may want to change
  29. this to your own preferred keystroke sequence.
  30.  
  31. Happy Procedure Error Trapping!!
  32. 
  33.