ACC97: "No Read Permission on..." Error After Compacting Database (190635)
The information in this article applies to:
This article was previously published under Q190635 Advanced: Requires expert coding, interoperability, and multiuser skills.
SYMPTOMS
When you try to open a form or report, you may receive the following error
message:
Record(s) can't be read; no read permission on '<TableName>'
CAUSE
You may experience this problem when the following conditions are true:
- You try to open a form or report.
-and-
- The record source for that form or report is set to an SQL statement
that uses WITH OWNERACCESS OPTION.
-and-
- You do not have at least Read Data permissions on the table.
-and-
- The database has been compacted since you last saved the form or report.
RESOLUTION
Instead of having the SQL statement as the record source of the form or
report, create a query with the SQL statement. Then use the query as the
record source of the form or report. This will guarantee that the form or
report record source is not deleted if the database if compacted.
Modification Type: | Minor | Last Reviewed: | 1/26/2005 |
---|
Keywords: | kberrmsg kbprb KB190635 |
---|
|