473,503 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bug In Access 2000?

If I make a change to a query in Access 2000 and click on the X in the
upper right corner to close the query, I get the prompt "Do you want to
save changes to the design on query 'Query1'? Normal behavior so far.
Now if I create a macro that turns off warnings (SetWarnings: No) and
run it, it has no effect which I think is a bug because if I run what
should be the equivalent in VBA (DoCmd.SetWarnings False), I no longer
see the above prompt "Do you want to save...". And either a macro with
(SetWarnings: Yes) or VBA code (DoCmd.SetWarnings True) do cause the
above prompt to show up again as expected. Has anyone else seen this
behavior or can duplicate it?
Thanks, Sheldon

Nov 13 '05 #1
4 1667
SH********@aol.com wrote:
If I make a change to a query in Access 2000 and click on the X in the
upper right corner to close the query, I get the prompt "Do you want
to save changes to the design on query 'Query1'? Normal behavior so
far. Now if I create a macro that turns off warnings (SetWarnings:
No) and run it, it has no effect which I think is a bug because if I
run what should be the equivalent in VBA (DoCmd.SetWarnings False), I
no longer see the above prompt "Do you want to save...". And either
a macro with (SetWarnings: Yes) or VBA code (DoCmd.SetWarnings True)
do cause the above prompt to show up again as expected. Has anyone
else seen this behavior or can duplicate it?
Thanks, Sheldon


Setting warnings off in a macro has always affected the setting only for the
duration that the macro runs. Probably a safety valve for newbies who would
not remember to turn it back on since they are most likely to use macros.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
So is VBA (DoCmd.SetWarnings False) the only way to turn off warning
messages outside of a macro or are there any other ways?

Nov 13 '05 #3
SH********@aol.com wrote:
So is VBA (DoCmd.SetWarnings False) the only way to turn off warning
messages outside of a macro or are there any other ways?


There might be other ways, but I'm not aware of them.

Do you have a problem with DoCmd.SetWarnings False?

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #4
DoCmd.SetWarnings False works fine but we have databases that don't
have code so it would be nice to have a simple way of turning off
messages without VBA.

Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
2866
by: chicha | last post by:
Hey people, I have to convert MS Access 2000 database into mysql database, the whole thing being part of this project I'm doing for one of my faculty classes. My professor somehow presumed I...
2
2416
by: Scott | last post by:
Any help would be grateful :-) Problem: When I test my installation of Access 2000 MDE, I get the following error: "Unrecognised Format".. This means that Access 97 cannot read Access 2000. ...
3
2463
by: Pat | last post by:
We have a database with Access 97 as the front-end and SQL7 as the back end. It is on a network server and accessed by joining a MS Access Workgroup. We are trying to add a new user and have...
3
2101
by: Scott | last post by:
Hi, If we want to compile an Access 2002 database and distribute it to others, will the compiled software run on any PC, like Windows 98, Windows 2000, etc. Also, you don't have to have...
6
2142
by: Serious_Practitioner | last post by:
....or lack thereof... I use Access 2000 which I own as part of Office 2000 Professional. I've had enough trouble with glitches to ask if these are common occurrences - 1. Sometimes the "Help"...
2
2313
by: Jeff | last post by:
Does anyone know of any potential problems running a 2000 database with 2003? Also, what about installing all other Office products as 2003 versions but leaving Access as 2002 running a 2000...
47
4482
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
0
2084
by: com | last post by:
MS Access 2000 Password Recoverer 4.2 Screenshot - Soft30.com MS Access 2000 Password Recoverer will display the password to a MS Access database (*.mdb). This program works for MS Access files...
5
2845
by: Mo | last post by:
Hello all, I'm trying to set up an access 2000 .adp project connecting to a SQL server 2005 database. I can set up the connection ok, but once I have completed the setup process, I get the...
3
2725
by: NEWSGROUPS | last post by:
I am in the midst of trying to convert about 25 Access 2000 to Access 2003. The new environment consists of Office/Access 2003 and Outlook 2003. When converting the back ends I have no problems....
0
7205
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
7093
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...
1
7006
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
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5592
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,...
1
5021
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...
0
4685
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3166
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.