M
Mike Webb
Using Access 2K2; experience level: beginner
===============================================
Situation: Trying to create a parameter search form. My 'base' is 3 tables;
one contains our Contacts, one contains the locally assigned categories
(such as "donor", "US Fish & Wildlife Service", etc.), and the last is a
Join table. The parameters for the search form are: Name, a logical
operator (AND/OR), and Category.
My thoughts are: Create a Make-Table query to combine the data from my
'base'. Use this new table as my Form Record Source. In order to keep the
data in this table current, I plan to use a delete query to delete the table
on form close. I figure I can put it all together as follows: create a
macro to run on Form Open to run the Make Table query, and then another
macro on Form Close to delete the table.
I've looked at MS Access help, Googled the Access newsgroups on Macros and
Queries, and looked at the Access MVPS website for advice. I have drawn it
out on paper this afternoon and feel I've reached the only conclusion that
will work for my skill level.
What I'd like to know is: am I going down the wrong path? It seems a bit
cumbersome, but I can't figure another way to do it. I'd sure appreciate
any comments or advice the readers can give me.
Cordially,
Mike Webb
Platte River Whooping Crane Maintenance Trust, Inc.
a non-profit 501(c)(3) organization
===============================================
Situation: Trying to create a parameter search form. My 'base' is 3 tables;
one contains our Contacts, one contains the locally assigned categories
(such as "donor", "US Fish & Wildlife Service", etc.), and the last is a
Join table. The parameters for the search form are: Name, a logical
operator (AND/OR), and Category.
My thoughts are: Create a Make-Table query to combine the data from my
'base'. Use this new table as my Form Record Source. In order to keep the
data in this table current, I plan to use a delete query to delete the table
on form close. I figure I can put it all together as follows: create a
macro to run on Form Open to run the Make Table query, and then another
macro on Form Close to delete the table.
I've looked at MS Access help, Googled the Access newsgroups on Macros and
Queries, and looked at the Access MVPS website for advice. I have drawn it
out on paper this afternoon and feel I've reached the only conclusion that
will work for my skill level.
What I'd like to know is: am I going down the wrong path? It seems a bit
cumbersome, but I can't figure another way to do it. I'd sure appreciate
any comments or advice the readers can give me.
Cordially,
Mike Webb
Platte River Whooping Crane Maintenance Trust, Inc.
a non-profit 501(c)(3) organization