Roger
This might be caused by fragmented code.
After backing up the file, run a decompile on the database. Use a run
command starting with your Access exe similare to this:
"C:\Program Files\Microsoft Office\Office11\msaccess.exe" /decompile
"C:\YourDBfile.mdb"
This will strip out any code fragments. Compact the db, compile and close.
You should see quite a decrease in file size.
Re-open it the regular way.
--
Bill Mosca, MS Access MVP
"RogerManiccia@ebs" <(E-Mail Removed)> wrote in message
news

AEA2CD3-5EFA-4E3B-A86A-(E-Mail Removed)...
>I have developed an access database from scratch. Periodically, 1 week or
>2
> weeks, the database will crash. I get the error message "Microsoft Access
> has encountered a problem and needs to be closed." I select the option to
> compact and repair the database. The database opens fine. I select ctrl
> g
> to open the debug window, the database crashes again. I am not able to do
> anything with the database.
>
> Next time I open the database, there is one module (module1) that I
> delete.
> Once I delete this module (which contains the mouse wheel disable code on
> the
> Microsoft website), I am able to get to the code window. I compile the
> database without error. I re-import the module1. I am able to work in
> the
> database in design mode without a problem. I start/open any form in
> runtime
> mode, Microsoft Access just disappears/closes from my computer. When I
> try
> to open the database again, I get the same results, Microsoft Access
> starts,
> then disappears. However, if I reboot my computer the problem goes away.
> I
> am able to use the database without problem for another week or two until
> the
> problem happens again. This has been an on going problem for 2 months.
>
> The database is now going into beta, and will go live shortly.
>
> Does anyone have any suggestions?
>
> --
> Roger Maniccia
> emdeon
> 26 Century Blvd
> Nashville, Tenn
> 615-886-9031