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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |