A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Surpress Confirmation Messages while updating records with VBA



 
 
Thread Tools Display Modes
  #1  
Old November 14th, 2005, 04:49 PM
Rasmus
external usenet poster
 
Posts: n/a
Default Surpress Confirmation Messages while updating records with VBA

Hi everybody,

I am updating records with a VBA skript. While the script is running access
keeps bothering me with confirmation messages. Is it possible to surpress
these messages?

Any help would be aprechiated.
thx
Rasmus


  #2  
Old November 14th, 2005, 05:00 PM
Brendan Reynolds
external usenet poster
 
Posts: n/a
Default Surpress Confirmation Messages while updating records with VBA

If you are using DoCmd methods to execute queries or SQL statements, try
using CurrentDb.Execute or CurrentProject.Connection.Execute instead. See
the help file for details.

--
Brendan Reynolds

"Rasmus" wrote in message
...
Hi everybody,

I am updating records with a VBA skript. While the script is running
access keeps bothering me with confirmation messages. Is it possible to
surpress these messages?

Any help would be aprechiated.
thx
Rasmus



  #3  
Old November 14th, 2005, 05:09 PM
Nick Coe \(UK\)
external usenet poster
 
Posts: n/a
Default Surpress Confirmation Messages while updating records with VBA

Look up DoCmd.SetWarnings in Access help.

Generally you turn warnings off just before your code
actually starts doing stuff to records then turn them back
on again at the end.


--
Nick Coe (UK)
Available - Will work for money :-)
http://www.alphacos.co.uk/ AccHelp + pAnimal
http://www.pjandcoe.co.uk/ Online Store

In ,
Rasmus typed:
Hi everybody,

I am updating records with a VBA skript. While the script
is
running access keeps bothering me with confirmation
messages.
Is it possible to surpress these messages?

Any help would be aprechiated.
thx
Rasmus



  #4  
Old November 14th, 2005, 05:19 PM
Ofer
external usenet poster
 
Posts: n/a
Default Surpress Confirmation Messages while updating records with VBA

If you want to remove the messages for all action queries, without using the
set
warnings, then in the menu bar select
Tools Options Edit/Search (Tab) Confirm Action Queries (remove the
selection)

But you have to know that it will never prompt with the message event when
you are using the queries dirrectly
--
I hope that helped
Good Luck


"Rasmus" wrote:

Hi everybody,

I am updating records with a VBA skript. While the script is running access
keeps bothering me with confirmation messages. Is it possible to surpress
these messages?

Any help would be aprechiated.
thx
Rasmus



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating Groups of Records via a Form SplitEdgeMan Running & Setting Up Queries 1 October 16th, 2005 11:49 AM
Outlook not updating Messages Andrew General Discussion 2 May 3rd, 2005 10:09 PM
Deletion of Newgroup Message Headers SafetyMan Outlook Express 10 September 12th, 2004 02:31 AM
updating all the records in a filter Dan Using Forms 1 June 2nd, 2004 03:07 AM
importing and updating records lisa Database Design 3 May 6th, 2004 03:26 PM


All times are GMT +1. The time now is 10:56 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.