Solved

Error 3112

Posted on 2000-04-11
4
1,174 Views
Last Modified: 2008-02-01
I have been running the same database for several months now with no problems. However today I tried to compact it and got an error message:

Record(s) can't be read; no read permission on 'database name'.

I have checked all the permissions and they appear to be fine. I have no problems using the database, viewing data, updating, etc....

Any ideas anyone?
0
Comment
Question by:alexpreston
  • 2
4 Comments
 
LVL 4

Expert Comment

by:berg1375
Comment Utility
Have you checked the folder rights (you need Read, Write, Erase, Create, File Scan)? Is this a secure database? Make sure you have permissions to administer at database level in the security. These are just a few things.
0
 
LVL 2

Accepted Solution

by:
goyam earned 30 total points
Comment Utility
Hi, you can try to repair first the database and than to compact it.
 If that don't work you can import all objects (use select all when you import) into a new (empty) database, and repair and compact this one.
Regards
0
 
LVL 3

Author Comment

by:alexpreston
Comment Utility
Thanks, I had tried repairing it but it hadn't helped.
So I created a new database and imported all the objects as you suggested and now everything appears to be fine.

Any ideas what was wrong, or shall I just blame Bill Gates?
0
 
LVL 2

Expert Comment

by:goyam
Comment Utility
I can't really tell what happened. From time to time, there are damaged objects (forms, reports, ...) so it can't rapair or compresse the base.
 I saw that if I've got an error, then I break into code and I make modifications, then I continue, there is big probability that in the future I'll find an damaged object.
 So I always when I want to modify something I open the base (with shift), and when I finish I compile and save all modules.
 Regards
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now