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

Crashing of Access 97

The database I'm working in is about 6mb. It consist of a few local
tables, and about 60 linked tables, around 130 queries, 33 forms, 10
reports, 1 macro and 17 modules.

Everytime after I change something in for example a module I close
Access. When I open it, Access crashes. My last change was a new
linked table, a query and a new form. When reopening, crash. Also when
I get the backup and import everything, this happens. Does anyone have
an idea what this is and how it is caused?

Thanks in advance,
Sjakie.

Jul 31 '07 #1
11 3132
On Tue, 31 Jul 2007 08:15:58 -0000, sj***************@gmail.com wrote:

A97 is very stable, especially with service pack 2 and the latest Jet
service pack installed. You may want to try a different machine to
figure out whether it's your PC or your db.

-Tom.

>The database I'm working in is about 6mb. It consist of a few local
tables, and about 60 linked tables, around 130 queries, 33 forms, 10
reports, 1 macro and 17 modules.

Everytime after I change something in for example a module I close
Access. When I open it, Access crashes. My last change was a new
linked table, a query and a new form. When reopening, crash. Also when
I get the backup and import everything, this happens. Does anyone have
an idea what this is and how it is caused?

Thanks in advance,
Sjakie.
Jul 31 '07 #2
I once had an ODBC link give me grief. It tested ok but I had problems using the link. The solution for this was to create a new ODBC link and get the tables to use this name rather than the old one.

HTH
--
Brian
>><sj***************@gmail.comJuly 31, 2007 4:15 am >>>
The database I'm working in is about 6mb. It consist of a few local
tables, and about 60 linked tables, around 130 queries, 33 forms, 10
reports, 1 macro and 17 modules.

Everytime after I change something in for example a module I close
Access. When I open it, Access crashes. My last change was a new
linked table, a query and a new form. When reopening, crash. Also when
I get the backup and import everything, this happens. Does anyone have
an idea what this is and how it is caused?

Thanks in advance,
Sjakie.

Jul 31 '07 #3
"Brian Graham" <Gr*****@psac-afpc.comwrote in
news:2f*************************@PRIMUS.CA:
Everytime after I change something in for example a module I close
Access. When I open it, Access crashes. My last change was a new
linked table, a query and a new form. When reopening, crash. Also
when I get the backup and import everything, this happens. Does
anyone have an idea what this is and how it is caused?
Corrupted compiled code. Decompile, compact, recompile and compact
and it will likely go away permanently.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Jul 31 '07 #4
Totally agree with David. I have an A97 application still running very
reliably. However, from time to time it gets a burst of Access crashes,
typically when trying to save changes to forms and reports with modules,
&/or standalone modules.

A decompile, followed by a re-compile, then a compact has always fixed
the issue.

I always follow this procedure before releasing an update to the client
as well.

*** Sent via Developersdex http://www.developersdex.com ***
Jul 31 '07 #5
ARC
Sometimes, however, an object can become corrupted beyond repair. This would
happen to me a LOT with my development machine once my program got to a
particular size (since access 2007, it doesn't crash much at all, thank
goodness).

Anyway, if the recompiling doesn't help, nor the compact or jetcomp.exe
utility, try this:

* Download the FMS Power Pack for Access 97 from FMS Inc.

* Run the FMS power pack utility under add-ins, and run the Complexity
meter.

FMS will then go through every object, and you can see the objects scrolling
by. Once access crashes, you can see the last object that FMS checked, so
the next object is the culprit. You can then locate a backup of your code,
and import a good copy of the corrupted object, then rename the imported
object so it overwrites the corrupt one. Compact, and then compile, and you
should be good to go.
"maxhugen" <devdex_AT_hugen_DOT_com_DOT_auwrote in message
news:46**********************@news.qwest.net...
Totally agree with David. I have an A97 application still running very
reliably. However, from time to time it gets a burst of Access crashes,
typically when trying to save changes to forms and reports with modules,
&/or standalone modules.

A decompile, followed by a re-compile, then a compact has always fixed
the issue.

I always follow this procedure before releasing an update to the client
as well.

*** Sent via Developersdex http://www.developersdex.com ***

Aug 1 '07 #6
On Jul 31, 8:57 pm, "David W. Fenton" <XXXuse...@dfenton.com.invalid>
wrote:
"Brian Graham" <Grah...@psac-afpc.comwrote innews:2f*************************@PRIMUS.CA:
Everytime after I change something in for example a module I close
Access. When I open it, Access crashes. My last change was a new
linked table, a query and a new form. When reopening, crash. Also
when I get the backup and import everything, this happens. Does
anyone have an idea what this is and how it is caused?

Corrupted compiled code. Decompile, compact, recompile and compact
and it will likely go away permanently.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Hello Brian,

Thanks for your reply. I have been searching in Access for this, but I
can't seem to find it. Where do I find the decompile option?

Thanks agian.
Sjakie.

Aug 1 '07 #7
On Aug 1, 2:13 pm, Sjakies Pretpaleis <sjakie.pretpal...@gmail.com>
wrote:
On Jul 31, 8:57 pm, "David W. Fenton" <XXXuse...@dfenton.com.invalid>
wrote:
"Brian Graham" <Grah...@psac-afpc.comwrote innews:2f*************************@PRIMUS.CA:
Everytime after I change something in for example a module I close
Access. When I open it, Access crashes. My last change was a new
linked table, a query and a new form. When reopening, crash. Also
when I get the backup and import everything, this happens. Does
anyone have an idea what this is and how it is caused?
Corrupted compiled code. Decompile, compact, recompile and compact
and it will likely go away permanently.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Hello Brian,

Thanks for your reply. I have been searching in Access for this, but I
can't seem to find it. Where do I find the decompile option?

Thanks agian.
Sjakie.
I have found following in the help:

Renaming a Database

When you rename a database, compiled code in the database will be
decompiled. To recompile code and save all modules in a compiled
state, open the database, open a module in Design view, and click
Compile And Save All Modules on the Debug menu.

Is that it???

Thanks

Aug 1 '07 #8
On Aug 1, 2:13 pm, Sjakies Pretpaleis <sjakie.pretpal...@gmail.com>
wrote:
On Jul 31, 8:57 pm, "David W. Fenton" <XXXuse...@dfenton.com.invalid>
wrote:
"Brian Graham" <Grah...@psac-afpc.comwrote innews:2f*************************@PRIMUS.CA:
Everytime after I change something in for example a module I close
Access. When I open it, Access crashes. My last change was a new
linked table, a query and a new form. When reopening, crash. Also
when I get the backup and import everything, this happens. Does
anyone have an idea what this is and how it is caused?
Corrupted compiled code. Decompile, compact, recompile and compact
and it will likely go away permanently.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Hello Brian,

Thanks for your reply. I have been searching in Access for this, but I
can't seem to find it. Where do I find the decompile option?

Thanks agian.
Sjakie.
That should be David, not Brian. Sorry!!!

Aug 1 '07 #9
Hi,
>Corrupted compiled code. Decompile, compact, recompile and compact
and it will likely go away permanently.
Thanks for your reply. I have been searching in Access for this, but I
can't seem to find it. Where do I find the decompile option?
It's a switch to start Access; the usual way is to create a shortcut on your
desktop to the Access-Exe and edit the target properties like this :

"C:\PathToMSAccess\MSACCESS.EXE" /decompile "C:\PathToDatabase\DBName.mdb"

Regards
Jens
Aug 1 '07 #10
maxhugen <devdex_AT_hugen_DOT_com_DOT_auwrote in
news:46**********************@news.qwest.net:
A decompile, followed by a re-compile, then a compact has always
fixed the issue.
I also compact between the decompile and recompile.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Aug 1 '07 #11
Thanks everyone. These links helped me very much. My database went
from 6mb to 2mb. This is great!!!
Aug 3 '07 #12

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

Similar topics

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...
2
by: Ray | last post by:
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. ...
1
by: LoopyNZ | last post by:
Hi there, I've converted an Access 97 front end to Access 2000, but when I try to run a VBA DoCmd.OpenReport (e.g. DoCmd.OpenReport "rpt_programme_listing") line, Access completely crashes...
6
by: AAJ | last post by:
Hi all I have a listbox on a form. If I set its rowsource directly, and the query in the rowsourse returns no data, then the displayed listbox is empty (exactly as you would expect) ...
47
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...
4
by: ApexData | last post by:
The standard NavigationButtonBar at the bottom of my form was working fine. Now, without recognizable reason, the AutoRepeat capability of the Access forward and back buttons are not working. If...
1
by: aaron | last post by:
Hello folks, Has anyone ever experienced the Access 2002 runtime crashing when the "Compact on Close" option is set for an MDE file? We are currently having this problem on a number of...
4
by: iheartvba | last post by:
Hi guys, Thanks to a lot of luck and help from you great people, I am on the verge of completing my first Database/Application. but at the moment the Jet Engine back end is not able to handle...
1
by: dlesandrini | last post by:
I've searched the archives, but not found anything on this, but our problem started only 2 weeks ago, so it might be very new. If anyone else has seen it, I would appreciate any feedback you have...
5
by: Lyn | last post by:
From time to time I strike a problem where Access will suddenly shut down while running some code (Dr Watson message), wiping out any forensics (diagnostic traces such as debug.prints, etc). This...
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...
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...
1
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
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.