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

Access crashes when opening form in design view

Ray
Stop me if you've heard this, but I am running Access 2002 and all of
a sudden, if I design a particular form (it's been working fine for
ages), Access crashes rather than open it in design view.

Interestingly, it doesn't crash if I run the app and open it in form
view! Just if I attempt to design it.

If I compact/repair, it allows me to design the form once. On any
subsequent attempts to view in design mode, though, it crashes before
anything displays.

After a lot if hair-tearing, I found that I had made a change to a
field name in a table, and not updated a query that used it. When I
attempted to design the query, I got a message saying that Access
could not represent in design view one of the joins. That query was
used by a listbox on the offending form.

All I had to do was fix the query, and the form will now design and
save without crashing Access.

But it's very annoying. Is there some kind of Access option which
controls this? I'd like to turn it off.

Ray
Nov 13 '05 #1
2 19013
pap

"Ray" <ra*@aic.net.au> wrote in message
news:9f**************************@posting.google.c om...
if I design a particular form (it's been working fine for
ages), Access crashes rather than open it in design view. [] But it's very annoying. Is there some kind of Access option which
controls this? I'd like to turn it off.

Ray


umm No.
The complexity of an Access form and listbox classes and Jets compileing
query engine allowed one to falls through the cracks.

peter walker
Nov 13 '05 #2
Yes there is a way to turn this off.

The problem is almost certainly caused by Name AutoCorrect - a "feature"
where Access is supposed to keep track of things when you rename them, and
let your database keep working with the new name. But the feature only works
partially, and when the names don't match completely, your database is
corrupted.

To turn it off, uncheck the boxes under:
Tools | Options | General | Name AutoCorrect.
Then compact the database to get rid of this:
Tools | Database Utilities | Compact.

After the kind of problems you describe, you may also like to decompile a
copy of the database by entering something like this at the command prompt
while Access is not running. It is all one line, and include the quotes:
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"

More information on other problems caused by this "Name AutoCorrupt"
feature:
http://members.iinet.net.au/~allenbrowne/bug-03.html

Other suggestions on how to avoid corruptions:
http://members.iinet.net.au/~allenbrowne/ser-25.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Ray" <ra*@aic.net.au> wrote in message
news:9f**************************@posting.google.c om...
Stop me if you've heard this, but I am running Access 2002 and all of
a sudden, if I design a particular form (it's been working fine for
ages), Access crashes rather than open it in design view.

Interestingly, it doesn't crash if I run the app and open it in form
view! Just if I attempt to design it.

If I compact/repair, it allows me to design the form once. On any
subsequent attempts to view in design mode, though, it crashes before
anything displays.

After a lot if hair-tearing, I found that I had made a change to a
field name in a table, and not updated a query that used it. When I
attempted to design the query, I got a message saying that Access
could not represent in design view one of the joins. That query was
used by a listbox on the offending form.

All I had to do was fix the query, and the form will now design and
save without crashing Access.

But it's very annoying. Is there some kind of Access option which
controls this? I'd like to turn it off.

Ray

Nov 13 '05 #3

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

Similar topics

3
by: Siobhan Perricone | last post by:
I have a user who is having a problem with an access database that I didn't build and haven't had anything to do with in the past. The database opens up to the switchboard, and she clicks through...
5
by: Jack MacDonald | last post by:
This is very strange and disturbing. Last night I opened the FE of my development version of an A97 database and immediately received a Windows-level error message titled "msaccess.exe Application...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
0
by: jphelan | last post by:
I have a subform that works fine until you import it into a new database when it crashes if you try to open it in either disign or form view. The form, "Attendees_Subform" in my application was...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
3
by: MartinR | last post by:
Hi, I'm still new to writing code in vba as I've only been introduced to access three weeks ago. I have written this code below and it executes but does not do what I want it to do. What I want is...
3
by: mnjkahn via AccessMonster.com | last post by:
I'm running Access 2003, modifying a query that has over 45 fields. When I right click on the field name in Query Design View, and then click Build, Access crashes before the Build window...
16
by: Phil Stanton | last post by:
I have a form with a button which is supposed to open an Excel file (With lots of Macros /VBA) in it. The Excel file gets it's data from the Access program Here is the code Private Sub...
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
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
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...
0
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...

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.