473,387 Members | 1,700 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,387 software developers and data experts.

Warnings/Saving Disabled? Other odd occurances...

48
I've done my homework on this a bit already.

Problem: the usual warnings of "Do you want to save?" or "Are you sure you want to delete that? It cannot be undeleted." etc have mysteriously stopped working.

Tools > Options > Edit/Find > Confirm: all boxes are checked
DoCmd.SetWarnings is not ANYWHERE in ANY code of mine. Nonetheless, I threw it in once and set it to TRUE just to be safe. This did not remedy the problem.

This isn't the first bizarre case that's come up. I've had forms just completely die on me. My homework indicated it was "corrupt" and that simply C&P the contents into a new form would do the trick (and it did). I don't know why these things are happening.

The biggest problem right now is that the failsafes have been disabled. Here's an overview, if this helps:
MS Access 2003
Stored on a shared drive
Multiple users access it across multiple computers, though one at a time
Users are very limited (<5)

I really can't suspect that anyone is purposely screwing with this thing, but I can't explain these random occurances. Please help.
Mar 28 '08 #1
3 1037
janders468
112 Expert 100+
Typically this happens when, in code, someone has turned off the warnings with
Expand|Select|Wrap|Line Numbers
  1. docmd.setwarnings false
  2.  
If it was never set back to true or if the program errored out or crashed before the program completed then it may never have gotten turned back on. To fix it go into a VBA window, go to the immediate window (ctrl+G) and type
Expand|Select|Wrap|Line Numbers
  1. docmd.setwarnings true
  2.  
Everything should work now, but if it was turned off in code you might want to find where this happened and make sure that errors are handled, it gets turned back on, etc.

Also, this can be controlled from macros as well, so if there is macro that turns the warnings off and halted before turning them back on then this will happen as well.

Hope that helps.
Mar 28 '08 #2
missinglinq
3,532 Expert 2GB
DoCmd.SetWarnings is not ANYWHERE in ANY code of mine! Nonetheless, I threw it in once and set it to TRUE just to be safe. This did not remedy the problem.
janders468, you were warned earlier today about posting answers where you obviously had not bothered to carefully read the original problem. You posted back to that thread and saw that warning less than 30 minutes ago, and yet you have turned around and done the same thing again! Please stop wasting our time and bandwidth with this type of behavior. This is your final warning. Ignore it, and you will be banned from this site!

Linq

Moderator
Mar 29 '08 #3
missinglinq
3,532 Expert 2GB
Several questions, isoquin.

If you close the database then reopen it immediately, does the behavior persist?

What service pack/hot fixes do you have installed?

The biggest problem right now is that the failsafes have been disabled. Here's an overview, if this helps:
MS Access 2003

You say the db is stored on a shared drive. Do you mean the db is split into front end/ back end with the back end on the shared drive, or is it an unsplit db that every one is accessing from the shared drive?

You say " Multiple users access it across multiple computers, though one at a time." How can you be sure of this? I ask this because the latter option, an unsplit db on a shared drive, being shared by multiple users , is a recognized cause of repeated corruption.

Linq ;0)>
Mar 29 '08 #4

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

Similar topics

10
by: Kylotan | last post by:
I have the following code: def IntToRandFloat(x): """Given a 32-bit integer, return a float in """ x = int(x) x = int(x << 13) ^ x return...
3
by: Xah Lee | last post by:
if i have mytext.replace(a,b) how to find out many many occurances has been replaced? Xah xah@xahlee.org ∑ http://xahlee.org/
30
by: prasanna | last post by:
i will be very thankful if you sent all the errors and warnings regarding to the language C thank you
22
by: John Fisher | last post by:
void f(int p) { } Many (most?) compilers will report that p is unreferenced here. This may not be a problem as f may have to match some common prototype. Typically pointers to functions are...
4
by: David Warner | last post by:
Greetings! In looking into some C coding, I am looking for the C function that will search for multiple occurances of a same character in a string. For Instance: char str = "We the people...
2
by: Peter | last post by:
What is the most efficient way to count occurances of charaters in a string? IE. Searching for ',' in a comma del file.
4
by: tt40 | last post by:
Anyone know how to prevent Access 2002 from automatically breaking all the incorrect joins in a query and then automatically saving the broken query? This is what I would call stupid design...
10
by: Pebsanne | last post by:
Hi, How do I chart or calculate a report to count the distinct occurances of the values 1 to 5 for lets say 10 workshops. I have the following table in MS Access: ID Workshop1 Workshop2 Workshop3...
82
by: robert bristow-johnson | last post by:
here is a post i put out (using Google Groups) that got dropped by google: i am using gcc as so: $ gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...

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.