473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

setwarnings

64
I am a fairly experienced access user and just switched from 2003 to Access 2007. Yeah yeah, I know.

At any rate, I created a a quick little macro to grind down duplicate entries from three different tables. the macro works fine and does everything I need it to do. However, everytime it runs a different query I get the warning messages, hit enter and continue on to the next query. I used to solve this with the setwarnings command. Now the setwarnings command is not even in the list. Is this normal for Access 2007? Do I need to code it in?

thanks

-Tom
Jan 16 '08 #1
4 3050
Denburt
1,356 Expert 1GB
It does still work in 2007 however in 2007 there are a few differences, for one when using vba it turns itself back on after the code runs. I think this link explains things better than I can hope it helps and if you have any further questions let us know:

http://msdn2.microsoft.com/en-us/library/bb177386.aspx
Jan 17 '08 #2
tbeers
64
It does still work in 2007 however in 2007 there are a few differences, for one when using vba it turns itself back on after the code runs. I think this link explains things better than I can hope it helps and if you have any further questions let us know:

http://msdn2.microsoft.com/en-us/library/bb177386.aspx
Thanks for your help but the command setwarnings isn't in the dropdown list in the macro design page....

Must I code it?

-Tom
Jan 17 '08 #3
Anjin
1
Thanks for your help but the command setwarnings isn't in the dropdown list in the macro design page....

Must I code it?

-Tom

Tom,

In the ribbon when editting a macro you should see an option for "Show all Actions." Activate the option by clicking on it. It should change to a highlighted state. The under "Action" you will see a more comprehensive list of options.

Khan
Jan 28 '08 #4
Denburt
1,356 Expert 1GB
Wow thanks Anjin I looked in there a couple of times and thought he was going to need to hard code it but hey I see it is still right there. Strange design they came up with but it does make some things a little more interesting.

Thanks again
Jan 30 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: L Mehl | last post by:
Hello -- After I run a macro which refreshes test data, running the app results in warnings like "You are about to delete .. records ..." The macro contains pairs of DELETE FROM table WHERE...
5
by: DC Fan | last post by:
Hi all... Been a while since had a question here, but I can not find a single thing about this in the group or even on the whole web! My Access XP application is running some stored queries and...
13
by: Robert McEuen | last post by:
This is probably really simple, but I can't find a thread that addresses it. Is there any way to evaluate in code whether the current state of the SetWarnings command is set to True or False? I...
10
by: MLH | last post by:
I thought I could run docmd.SetWarnings in the immediate window with no argument and A97 would return True or False, depending on the current setting. I was wrong. Anybody know how to make the...
12
by: Pradeep Varma | last post by:
Hello, I am suppressing the warnings in Ms Access database by using the DoCmd.SetWarnings=False statement. However I want to get a list of all the Warnings that were generated between a: ...
6
by: MLH | last post by:
In my Tues, Mar 21 2006 original post on this topic, Allen Browne made a very good case for use of the Execute method instead of firing an action query with RunSQL or OpenQuery. Ex- ploring the...
16
by: ARC | last post by:
Hello all, So I'm knee deep in this import utility program, and am coming up with all sorts of "gotcha's!". 1st off. On a "Find Duplicates Query", does anyone have a good solution for...
5
by: MLH | last post by:
Access 97 does not provide a means of reading the most recent setting for SetWarnings Method. For example, if you had CBF that called a procedure in a global module and the following statement was...
1
by: natural | last post by:
Good Afternoon I have an option grou[ and on the after update i would like to provide the user with a msgbox, and then action placed my docmd.setwarnings false everywhere, but i still get my...
6
by: RZ15 | last post by:
Hi, I frequently have code in my forms that will turn warnings off, run make table queries, then turn warnings back on using the following code: DoCmd.SetWarnings WarningsOff DoCmd.OpenQuery...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.