Results 1 to 4 of 4

Thread: access prompts

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2003
    Location
    Connecticut
    Posts
    257

    access prompts

    Can someone refresh my memory on the command to turn off warning prompts to the user when running queries, etc. from code?

  2. #2
    Addicted Member
    Join Date
    Aug 2002
    Location
    Luton, UK
    Posts
    178
    Application.Displayalerts=False

    Make sure you reset it to True again afterwards.
    Regards
    BrianB
    -------------------------------

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2003
    Location
    Connecticut
    Posts
    257
    It's telling me that displayalerts is not a method of application. I am referencing DAO and ActiveX. Do I need to reference something else?

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2003
    Location
    Connecticut
    Posts
    257
    Never mind. I found the SetWarnings method of the docmd.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width