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

Ms Access has stopped working?

101 100+
I have been working on my database and have added a new form and changed some other code. When I now enter the database and open the form in design view and try to look at my VBA code I get the error:-

MS Access has Stopped Working......etc and the application closes diwn.

I have saved copies of earlier versions prior to the new code and these work OK so I suspect it is to do with something I have added since. I have looked on the web and cannot get any sensible answer as to why it keeps crashing.

Does anyone have any answer to this please

I am using Set.Focus on my new form and am wondering if this might be the cause of the problem?
Oct 25 '11 #1

✓ answered by Cyd44

Hi NeoPa,

I suspected that this was an application problem rather than a database one so this is what I did which appears to have resolved my issue :

I went to Control Panel and chose Remove Program option. I then chose MS OFFICE and Change option which gave me an opportunity to Repair Office. This took about 30 mins but did not give me any clues about what it found or repaired. It Simply told me the Repair was complete!
Once I rebooted I was able to run Access with my database.

On another note, I read your recommended info on Mandatory Variable Declaration and I noted that many of my Class Modules did not contain Option Explicit, so I have entered this declaration into those.

The upshot is that my database is running OK (at the moment at least).

6 10018
NeoPa
32,556 Expert Mod 16PB
I would suggest starting by using the Bypass key (Shift) while opening the database. You may have a corruption, but we need info to start with. A full exact copy of the error message would be the next thing to post. If it gives a Debug option then select that and post the code it is stopped at along with the full error message.
Oct 25 '11 #2
Cyd44
101 100+
I am not sure what you mean by using Bypass key. I went to database and pressed Shift Enter but all I got was the MS error message Access has stopped working. I have tried the earlier versions and it is also happening with these now so the problem seems to have migrated
Oct 25 '11 #3
Cyd44
101 100+
Hi NeoPa,

I suspected that this was an application problem rather than a database one so this is what I did which appears to have resolved my issue :

I went to Control Panel and chose Remove Program option. I then chose MS OFFICE and Change option which gave me an opportunity to Repair Office. This took about 30 mins but did not give me any clues about what it found or repaired. It Simply told me the Repair was complete!
Once I rebooted I was able to run Access with my database.

On another note, I read your recommended info on Mandatory Variable Declaration and I noted that many of my Class Modules did not contain Option Explicit, so I have entered this declaration into those.

The upshot is that my database is running OK (at the moment at least).
Oct 25 '11 #4
NeoPa
32,556 Expert Mod 16PB
Cyd44:
I had suspected that this was an application problem rather than a dbase one so this is what I did which appears to have resolved my issue.
That was clever. I wouldn't have thought of that. Congratulations on finding your solution.

I'm going to edit that post for typos etc so you can go ahead and mark it as Best Answer (Unusual for posts by the OP but appropriate in this case I think).
Oct 25 '11 #5
Cyd44
101 100+
Thanks for the compliment. I thought I would put the resolution onto the forum just in case anyone else encountered a similar problem. I hope that is acceptable.
Oct 26 '11 #6
NeoPa
32,556 Expert Mod 16PB
Perfectly so. We encourage it in fact ;-)
Oct 26 '11 #7

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

Similar topics

1
by: Jeremy Holt | last post by:
I have an Installer Setup project which builds fine. However, if I select Install from within the solution, the installation fails with a message "The installer was interruped before XXXXX could be...
4
by: Dag Sunde | last post by:
I've been working on a system that have been running for the last couple of years, but stopped working on my dev. machine after reinstalling WinXP yesterday. To my knowledge, it have been set up...
4
by: Jim S | last post by:
A number of functions that I use regularly in Access, either in queries or reports, have stopped working within the last couple of days. They include: Left() InStr() Now() When run in a...
3
by: Peter Arrenbrecht | last post by:
Hi all From one day to another, Access 2003 has stopped working on my XP Prof SP2. Repair, reinstall, reboot, nothing helps. When started from the Start menu, it loads OK, displays the main...
6
by: Susan Bricker | last post by:
Hi. Does anyone have a clue why my mouse wheel stopped working while I was working on the VB behind a form in MS/Access? I would swear that the mouse wheel was working a short time ago. I've...
29
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ...
2
by: ipellew | last post by:
Hi; My Access 2002 debugger breakpoint has stopped working. I must of done something as the breakpoints no longer stop the code. I put a msgbox in code and getit, but no stop at the break before...
1
by: rickcasey | last post by:
I wonder if anyone has experienced something like this, as it seems truly bizarre and is causing me to tear out my hair (what little there is left of it).... The exec() function just suddenly...
7
by: Kurt Jakobsen | last post by:
Hello, I have a client program that I use to access a MySql 5.0 community server. The client can be on the machine where the MySql server is installed or from a remote machine. The client has...
1
by: wojski696969 | last post by:
Hi.. i've got the serious problem.. In my ASP.NET 2.0 application I'm using COM dll file referenced by interop dll. I'm using few properties from in one of the objects made from this library...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...

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.