Results 1 to 4 of 4
  1. #1
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591

    SetWarnings turned off

    Somewhere in my code I have turned warnings off (docmd.setwarnings false), but not turned them back on. If could be commented out. Is there a shortcut to finding and/or fixing this? I can search all these procedures and modules (which I believe will be the case), but I can't imagine a situation where I'd ever want to leave them in the off status.



    I've got to find this now so I am off on my search, but this alarmed me enought to post the problem here for feedback.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    No shortcut.

    Search for Warnings method and determine which one has no mate.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    redbull's Avatar
    redbull is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Location
    Missouri
    Posts
    480
    Ctrl+f

    search for warnings or .setwarnings

  4. #4
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591
    Thanks, I suspected as much.

    Never did find a culprit, but have thrown in a few extra setwarnings = true just to be sure.

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

Similar Threads

  1. Replies: 4
    Last Post: 05-17-2012, 01:07 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