Microsoft Access Has Encountered A Problem

S

Steve

I am getting the message "Microsoft Office Access Has Encountered A Problem
And Needs To Close" with the two buttons <Send Error Report> and <Don't
Send>. Is there any way to get Access to display what the problem is? I
tried an error handler and nothing comes up.

Thanks!

Steve
 
M

Marshall Barton

Steve said:
I am getting the message "Microsoft Office Access Has Encountered A Problem
And Needs To Close" with the two buttons <Send Error Report> and <Don't
Send>. Is there any way to get Access to display what the problem is? I
tried an error handler and nothing comes up.


Probably(?) corruption. Try the usual things to see if it
goes away. Or maybe(?) reinstall Access and any libraries
you are using.

You may also want to try stepping through your code to see
if you can track down where it's happening.
 
T

Tom Wickerath

Is there any way to get Access to display what the problem is?

Doubtful, since this is likely a GPF (General Protection Fault).

Try opening Access with the optional /decompile switch. If you have only one
version of Access installed on your PC, you can click on Start | Run and
enter:

msaccess /decompile

Browse to the affected database. Hold the Shift key down the entire time
that it is opening, to prevent any startup code from running. Do a Compact
and Repair operation first thing, again while holding down the Shift key the
entire time. Then open any code module and do a Debug | Compile {ProjectName}.

The /decompile option removes any compiled "P" code from your database,
which may be corrupted. Compacting clears out any left over garbage.
Recompiling produces a new copy of the compiled "P" code. (The compiled "P"
code is not the same human-readable ASCII text version of the code that you
can see and edit).

Please feel free to donate the small fee of your choice to the Northwest
Kidney Center in Seattle.


Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________
 
G

Gigamite

Steve said:
Is there any way to get Access to display what the problem is? I
tried an error handler and nothing comes up.

Access won't display the error. You can read the error report
or the event log, which will give you a clue what went wrong,
but won't tell you exactly what caused the error. Usually
it's something the developer has control over, like running
uncompiled code.

If you can't find the report file, check the event log.
Control Panel + Administrative Tools + Event Viewer +
Application. Left click on any record and read the
properties. The red X and "Error" type will clue you in on
which event log record to check the properties for.
 
K

Keith Wilby

Steve said:
I am getting the message "Microsoft Office Access Has Encountered A Problem
And Needs To Close" with the two buttons <Send Error Report> and <Don't
Send>. Is there any way to get Access to display what the problem is? I
tried an error handler and nothing comes up.

It's the crap filter kicking in.
 
H

hbinc

It's the crap filter kicking in.

I can understand VBA, but because of my lack of English I do not
understand this sentence.
Can you explain a little bit more?


HBInc.
 
D

Douglas J. Steele

I can understand VBA, but because of my lack of English I do not
understand this sentence.
Can you explain a little bit more?

Steve, the original poster of this thread, is a known violator of the
newsgroup rules, constantly soliciting work.

Keith's response was doubtlessly just a comment on how most of us view
Steve.
 
H

hbinc

Steve, the original poster of this thread, is a known violator of the
newsgroup rules, constantly soliciting work.

Keith's response was doubtlessly just a comment on how most of us view
Steve.

--
Doug Steele, Microsoft Access MVPhttp://I.Am/DougSteele
(no e-mails, please!)- Hide quoted text -

- Show quoted text -

As an outsider I can understand that there are personal feelings, but
these have nothing to do with discussions on Access databases.
I my opinion such posts are as objectionable as commercials.

HBInc.
 
K

Keith Wilby

hbinc said:
As an outsider I can understand that there are personal feelings, but
these have nothing to do with discussions on Access databases.
I my opinion such posts are as objectionable as commercials.

I'm sorry you found my posting "objectionable" but no one here is a robot
and we do stray off-topic occasionally. In future it might be better if you
objected silently and fill-file me if you no longer wish to see my postings.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top