J
Jon Slack
I have a database consisting of 3 main tables. The first
is a static table containing around 86,000 records. The
second is a single-record table that stores data entered
by the user that is then used as a Search Term to search
through Table 1, to create (by Append) Table 3 - which
then obviously contains a subset of the data in Table 1.
Still with me?
After the user has performed his/her search, (s)he can
then enter another search term (in the single-record Table
2) to refine the search. The query that looks after this
takes the first results (Table 3) and deletes all records
that do NOT have the 2nd search term in them. This creates
a smaller result set (Table 3) and the user can then
refine the search further if (s)he wishes.
Except that it doesn't work. When running the macro that
calls the query that removes non-matching records from
Table 3, it fails with an Action Failed error on the
OpenQuery command. Upon clicking Halt, a diague box opens
up with 'could not delete from specified tables.'
The Help for error 3086 offers 4 potential problems, none
of which seem to apply. Can anyone off any insight?
Yours hopefully,
Jon
is a static table containing around 86,000 records. The
second is a single-record table that stores data entered
by the user that is then used as a Search Term to search
through Table 1, to create (by Append) Table 3 - which
then obviously contains a subset of the data in Table 1.
Still with me?
After the user has performed his/her search, (s)he can
then enter another search term (in the single-record Table
2) to refine the search. The query that looks after this
takes the first results (Table 3) and deletes all records
that do NOT have the 2nd search term in them. This creates
a smaller result set (Table 3) and the user can then
refine the search further if (s)he wishes.
Except that it doesn't work. When running the macro that
calls the query that removes non-matching records from
Table 3, it fails with an Action Failed error on the
OpenQuery command. Upon clicking Halt, a diague box opens
up with 'could not delete from specified tables.'
The Help for error 3086 offers 4 potential problems, none
of which seem to apply. Can anyone off any insight?
Yours hopefully,
Jon