G
Guest
I haven't much luck in finding an answer to this in the community. I have
three related tables, Companies, Agreements, and Filings in an ACCESS 2002
SP3 database. I've modified one set of forms/subforms so instead of showing
all of the Filings for every year and other unneeded info, it just shows the
company identifiers, agreement data and part of the filings data. I know how
to create a subquery using the BETWEEN function (BETWEEN [begin_date] AND
[end_date] as an example). What I haven't been able to do is create a
subquery that will pull only the Filings for one specific year. I'd like to
set it up so when I select form / report from the SWITCHBOARD a pop-up form
appears asking for the year requested.
As an example, the pop-up would appear with a text box into which I could
enter 2005. When I click on a COMMAND BUTTON, the query is run returning
every company and it's agreements that were filed in 2005. It would also be
nice to be able to change the query parameters to return those which did NOT
file in a specific year, but that's probably another story for another
session. Unless someone is really feeling kind and helpful. I hope my
intentions are clear, if not honorable.
Thank you.
three related tables, Companies, Agreements, and Filings in an ACCESS 2002
SP3 database. I've modified one set of forms/subforms so instead of showing
all of the Filings for every year and other unneeded info, it just shows the
company identifiers, agreement data and part of the filings data. I know how
to create a subquery using the BETWEEN function (BETWEEN [begin_date] AND
[end_date] as an example). What I haven't been able to do is create a
subquery that will pull only the Filings for one specific year. I'd like to
set it up so when I select form / report from the SWITCHBOARD a pop-up form
appears asking for the year requested.
As an example, the pop-up would appear with a text box into which I could
enter 2005. When I click on a COMMAND BUTTON, the query is run returning
every company and it's agreements that were filed in 2005. It would also be
nice to be able to change the query parameters to return those which did NOT
file in a specific year, but that's probably another story for another
session. Unless someone is really feeling kind and helpful. I hope my
intentions are clear, if not honorable.
Thank you.