Results 1 to 4 of 4
  1. #1
    dsmithe is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2018
    Posts
    24

    logging crashes in Access

    I have an access database that I inherited that is starting to crash regularly. After the crash the user gets an Unrecognized database format error. The forms and reports are in one database and each user has a copy of that database on their desktop. The tables are in their own database that is stored on the server. The users are not helpful about writing down the error message or remembering what they were doing when it crashed. Is there a way that access can log what access is seeing and doing? I don't want to have to change the program anymore than is necessary as I don't want to introduce any more stability problems. A simple text file that has the date, time, form/report name, button clicked, etc. Anything to help narrow down the problem area.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,523
    I had a db that did that... no log can trap it.
    I think a form went corrupt. Just opening it would crash it all.

    I created new empty db, imported all objects, EXCEPT the bad form,
    imported the form from a backup copy,
    compile , compact.
    that seemed to solve the crash problem.

  3. #3
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    Yes it is possible to log all actions and record all errors.
    I have a system which does this and automatically emails me when an error occurs.
    It was a lot of work to setup but by doing so, almost all errors were fixed in a short time and I no longer receive error emails. I call that a success.
    I can't supply my code but the Smiley Coder has a similar crash reporter available: https://thesmileycoder.com/crash-reporter/
    Last edited by isladogs; 04-01-2020 at 03:00 PM.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  4. #4
    dsmithe is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2018
    Posts
    24
    @ranman256
    If my users would remember what they were doing and what form they were on I would try that.

    @isladogs
    I will have to try out the Smiley Coder crash reporter.

    I am a little surprised that Access doesn't offer something natively. I.e. Start msaccess.exe -v 5 and it logs everything, what button what pressed, what form is current, etc.

    Thank you both for your help.

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

Similar Threads

  1. Outlook Email Attachment Logging in Access
    By titration_method in forum Programming
    Replies: 1
    Last Post: 03-04-2020, 11:02 AM
  2. How to record time logs after logging in and logging out
    By annayanagi014 in forum Programming
    Replies: 1
    Last Post: 02-18-2015, 07:52 AM
  3. Error 32002 when logging in to access
    By chaswil69 in forum Access
    Replies: 5
    Last Post: 02-04-2015, 11:06 AM
  4. Logging and tracking in access
    By snoopy in forum Programming
    Replies: 4
    Last Post: 11-01-2012, 09:01 PM
  5. Access Data Logging
    By pix in forum Access
    Replies: 0
    Last Post: 05-11-2009, 01:10 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