Results 1 to 2 of 2
  1. #1
    Emma G is offline Novice
    Windows 10 Access 2010 32bit
    Join Date
    Jun 2016
    Posts
    13

    Is there a way you can be notified if there is an error when a query runs?

    Good afternoon,

    I have designed a library database that uses queries to append a record from one table to another and then a delete query to remove it from the original table which seems to be working for me at the moment. When up and running my database will have many users and I am wondering if there is a way that I could be alerted if an error had occurred and either append or delete query had not run properly for some reason so that I could check for any errors in data. Could I program the database to send me an email containing details of an error? Or is there a log that a database keeps of this sort of thing? Are there any other notification options that I could use if an error happens when running a query? It would be helpful if I knew which record had failed to be appended or deleted during the process.

    Many thanks.



    Emma

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    you can - use the on error facility in code and put something there to send you an email.

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

Similar Threads

  1. Query Runs Extremely Slow
    By eagerlearner in forum Queries
    Replies: 1
    Last Post: 10-30-2014, 06:44 AM
  2. Missing records when query runs
    By SydB in forum Queries
    Replies: 6
    Last Post: 06-28-2014, 01:43 PM
  3. Date() in query runs extremely slow on Windows 7
    By TagYoureIt in forum Access
    Replies: 4
    Last Post: 03-20-2013, 01:24 PM
  4. Query runs fine but report doesnt work
    By endri81 in forum Queries
    Replies: 4
    Last Post: 04-28-2012, 02:35 PM
  5. Form that runs query and creates reports
    By Valeda in forum Forms
    Replies: 2
    Last Post: 05-04-2006, 07:01 AM

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