Results 1 to 3 of 3
  1. #1
    snoopy is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    53

    How to document error analysis and debuging in Access

    Hi there,



    I do some error analysis for debug an Access DB. My question is are there some regulations or frameworks, which could support my work. It would be grateful if someone could give some advises.

    Thanks

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    I'm not sure what you're asking if you're looking for an error trap this is what I use:

    at the beginning of my code, after variables have been declared:

    ON ERROR GOTO ERRHANDLER

    then at the end of my code, before the end sub:

    Exit Sub
    ERRHANDLER:
    debug.print err.number & " " & err.description
    End Sub

    if I want my script to continue after the error I also include after the debug.print statement:

    resume next

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    I have no idea what exactly you are asking either.

    For info on how to debug, see http://www.cpearson.com/excel/debug.htm

    If it is a question of inserting ErrorHandling code, then download the free vba utility MZTools for vba

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Closing Word Document From Access
    By bburton in forum Programming
    Replies: 2
    Last Post: 04-25-2011, 10:23 AM
  2. Replies: 2
    Last Post: 12-02-2010, 02:35 AM
  3. Open a word document from access
    By natalia in forum Programming
    Replies: 1
    Last Post: 10-13-2010, 08:04 AM
  4. Document 1000,s Access DBs automatically
    By Blaise in forum Access
    Replies: 3
    Last Post: 05-18-2010, 11:30 AM
  5. Access Shrinks my Document
    By Xiaoding in forum Reports
    Replies: 5
    Last Post: 11-13-2009, 02:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums