PC Review


Reply
Thread Tools Rate Thread

Disabling notifications

 
 
Conan Kelly
Guest
Posts: n/a
 
      8th Nov 2007
Hello all,

help files say that "DoCmd.SetWarnings" will enable/disable "System
Messages".

What are all the messages that are considered "System Messages"?

In Access>Tools>Options...>Edit/Find tab>Confirm group, there are 3 items:
Record Changes, Document deletions, & Action queries.

Are all 3 of these considered System Messages? Are there any more?

Can I programatically set each one of these 3 individually? If so, what is
the code, please?

Thanks for any help anyone can provide,

Conan Kelly


 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      9th Nov 2007
It might be helpful to know what you are seeking to do.

In general, you want to leave SetWarnings turned on. Use the Exeucte method
to run your action queries (instead of RunSQL or OpenQuery.) More info:
Action queries: suppressing dialogs, while knowing results
at:
http://allenbrowne.com/ser-60.html

You also want to leave the confirmation options checked for most scenarios.
Otherwise objects are deleted from the Database window without confirmation.
Rather than turn the option off, it's much better to use Shift+Delete to
delete objects without confirmation.

Similarly, deleting records without confirmation is generally not a good
idea. A side-effect of doing that is that your form's BeforeDelConfirm and
AfterDelConfirm don't fire, so any checking or custom messages are also
suppressed if you do that.

If you do want to set the options programmatically, this list gives you the
option names to use:
http://msdn2.microsoft.com/en-us/library/Aa140014(office.10).aspx

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Conan Kelly" <(E-Mail Removed)> wrote in message
news:4JLYi.7203$(E-Mail Removed)...
> Hello all,
>
> help files say that "DoCmd.SetWarnings" will enable/disable "System
> Messages".
>
> What are all the messages that are considered "System Messages"?
>
> In Access>Tools>Options...>Edit/Find tab>Confirm group, there are 3 items:
> Record Changes, Document deletions, & Action queries.
>
> Are all 3 of these considered System Messages? Are there any more?
>
> Can I programatically set each one of these 3 individually? If so, what
> is the code, please?
>
> Thanks for any help anyone can provide,
>
> Conan Kelly


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NOTIFICATIONS Barbara Windows XP General 0 27th Apr 2009 02:38 PM
Disabling system notifications Fatih Microsoft Dot NET Compact Framework 1 9th Nov 2007 12:28 PM
Disabling Windows Defender update notifications Herbert Eppel Spyware Discussion 8 4th Apr 2006 12:02 PM
Disabling PST's Without Disabling Archiving Karine Rivet Microsoft Outlook 4 25th May 2005 10:05 PM
Disabling PST's Without Disabling Archiving Karine Rivet Microsoft Outlook Discussion 4 25th May 2005 10:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:32 PM.