Hi Franky,
It sound's like your database has started to become corrupt. The first thing
I would do is create a new database, and import all objects from the suspect
database into the new database. Here are the steps:
1.) Create a new blank database.
2a.) Import all non-linked tables. Do not import linked tables. Make sure to
click on the Options button and include Relationships, Toolbars and
Import/Export Specs.
b.) Import all queries
c.) Import all forms
d.) Import all reports
e.) Import all macros
f.) Import all Data Access Pages (if you have any)
g.) Import all modules
While Access will allow you to import all objects in one operation, this is
not the recommended procedure. The experts at FMS Inc. have posted advice, in
their newsgroups, that this is best done one object group at a time. It
doesn't add that much extra time to do it this way. See the post by Troy:
http://www.fmsinc.com/ubb/Forum12/HTML/000285.html
3.) Re-create any linked tables from scratch.
4.) Set the startup options to match those of the source database
(Tools > Startup). Startup options cannot be imported.
5.) Open the source database. Press Alt F11 to open the VBE (Visual Basic
editor). Click on Tools > References. Make a note of which references are
present, and the order in which they appear. Open the new database, press Alt
F11 and click on Tools > References. Set the same references in the same
order. Click on the OK button to dismiss the references dialog.
Note: Reference priority problems, and a solution to them, are discussed in
greater detail here:
ADO and DAO Library References in Access Databases
http://www.access.qbuilt.com/html/gem_tips1.html
6.) In the VBE editor, click on Debug > Compile {DatabaseName}. Make sure
that any code compiles properly without errors.
If you continue to see signs that point to possible corruption, start
investigating the information shown in these links:
Preventing corruption (Allen Browne)
http://allenbrowne.com/ser-25.html
Recovering from corruption (Allen Browne)
http://allenbrowne.com/ser-47.html
Are you up-to-date with all service packs for Windows, Office and the JET
database engine?
How to keep a Jet 4.0 database in top working condition (Microsoft KB article)
http://support.microsoft.com/?id=303528
Do you have the very buggy Name Autocorrect feature (Tools > Options... |
General Tab) disabled? Is this a mult-user database? If so, have you split
it into a front-end (FE) and back-end (BE) databases? The FE database
includes all queries, forms, reports, macros, modules and DAP's. It may also
include local tables for storing data that is not shared. The BE database
includes tables only that contain the shared data. Each user should have a
copy of the FE database installed on their local hard drive. The BE database
is saved to a folder on the file server.
Corrupt Microsoft Access MDBs FAQ (Tony Toews)
http://www.granite.ab.ca/access/corruptmdbs.htm
Good Luck!
Tom
__________________________________________
:
I am starting to frequently get the message that "Microsoft Assess has
encountered a problem and needs to close."
What could cause this? I have compacted and repaired mdb. and I still have
this message occurring.
Anyone else have this problem?