G
Guest
I am trying to delete the min and max dates out of a set of data before
archiving the set of data. I have written a set of queries for both the min
and the max dates. For both the min and the max, the first query identifies
the date I want to target and the second query finds all the matching records
in the target table. If I leave the second query as a select query, it
works. The minute I set it up as a delete query, it gives me the following:
"Could not delete from specified tables. (Error 3086)
You tried to delete data from one or more tables, but the deletion could not
be completed.
Possible causes:
You do not have permission to modify the table. To change your permissions
assignments, see your system administrator or the table's creator.
The database was opened for read-only access. The database is read-only for
one of these reasons:
You used the OpenDatabase method and opened the database for read-only
access.
The database file is defined as read-only in the database server operating
system or by your network.
In a network environment, you do not have write privileges for the database
file.
In Microsoft® Visual Basic®, you used the Data control and set the ReadOnly
property to True.
To delete the data, close the database, resolve the read-only condition, and
then reopen the file for read/write access."
I have checked....all my permissions are read/write....what am I missing?
Joe
archiving the set of data. I have written a set of queries for both the min
and the max dates. For both the min and the max, the first query identifies
the date I want to target and the second query finds all the matching records
in the target table. If I leave the second query as a select query, it
works. The minute I set it up as a delete query, it gives me the following:
"Could not delete from specified tables. (Error 3086)
You tried to delete data from one or more tables, but the deletion could not
be completed.
Possible causes:
You do not have permission to modify the table. To change your permissions
assignments, see your system administrator or the table's creator.
The database was opened for read-only access. The database is read-only for
one of these reasons:
You used the OpenDatabase method and opened the database for read-only
access.
The database file is defined as read-only in the database server operating
system or by your network.
In a network environment, you do not have write privileges for the database
file.
In Microsoft® Visual Basic®, you used the Data control and set the ReadOnly
property to True.
To delete the data, close the database, resolve the read-only condition, and
then reopen the file for read/write access."
I have checked....all my permissions are read/write....what am I missing?
Joe