J
Jen
I'm using Access 2000.
I have a form with a subform; the main form contains information about
particular news items, and the subform has information for when and how each
of the items has been disseminated. The data is in two tables, in a
one-to-many relationship. The form works fine.
I want to run a parameter query that pulls a list of items that, for
example, were disseminated on a certain day (this info is in the subform). I
can run this query no problem. But what I'd like is for it to open the form,
filtered to show only the items from the parameter query.
However, Access help tells me the following:
Requirements for using queries as filters
A query must meet certain requirements if you're going to use it as a
filter. The query: must be based on the same underlying table or query as the
datasheet or form to which you're applying it; can't include other tables or
queries (etc.).
So, it looks like I can't use this parameter query - which pulls information
from both the main items table and the dissemination table - as a filter for
the form (which is based only on the main items table).
Is there another way to accomplish what I want to do here? I could do my
updates in the query, but that doesn't really give me the full
functionality/ease of use I'm looking for.
Your suggestions would be much appreciated!
Thanks,
Jen
I have a form with a subform; the main form contains information about
particular news items, and the subform has information for when and how each
of the items has been disseminated. The data is in two tables, in a
one-to-many relationship. The form works fine.
I want to run a parameter query that pulls a list of items that, for
example, were disseminated on a certain day (this info is in the subform). I
can run this query no problem. But what I'd like is for it to open the form,
filtered to show only the items from the parameter query.
However, Access help tells me the following:
Requirements for using queries as filters
A query must meet certain requirements if you're going to use it as a
filter. The query: must be based on the same underlying table or query as the
datasheet or form to which you're applying it; can't include other tables or
queries (etc.).
So, it looks like I can't use this parameter query - which pulls information
from both the main items table and the dissemination table - as a filter for
the form (which is based only on the main items table).
Is there another way to accomplish what I want to do here? I could do my
updates in the query, but that doesn't really give me the full
functionality/ease of use I'm looking for.
Your suggestions would be much appreciated!
Thanks,
Jen