Filtering a Form Using a Query - See attached DB
Please find the 1 attached MS Access 2000 databases that has been considerably simplified in order to demonstrate my dilemma.
I want to know why Db1 works and Db2 does not. Db1 is attached to the post, but you can create Db2 by deleting column two in the design grid of “Query1”.
The desired result is to run “Macro1” and have it perform the single action of opening the only form and have it show only 3 of its 10 records (the ones where the technician’s name includes the letters “jab”). If you run “Query1” by itself in either of the databases, Query1 achieves this result and displays the proper records (Test #’s 2003-0003 , 2003-0005, and 2003-0010 ). However, when ‘Query1’ is used as a filter for the form, only the one that is ‘hard-coded’ in Db1 works. This ‘hard-coding’ of the criteria in the query is unacceptable and I need a work-around.
PLEASE HELP!!!!
Please find the 1 attached MS Access 2000 databases that has been considerably simplified in order to demonstrate my dilemma.
I want to know why Db1 works and Db2 does not. Db1 is attached to the post, but you can create Db2 by deleting column two in the design grid of “Query1”.
The desired result is to run “Macro1” and have it perform the single action of opening the only form and have it show only 3 of its 10 records (the ones where the technician’s name includes the letters “jab”). If you run “Query1” by itself in either of the databases, Query1 achieves this result and displays the proper records (Test #’s 2003-0003 , 2003-0005, and 2003-0010 ). However, when ‘Query1’ is used as a filter for the form, only the one that is ‘hard-coded’ in Db1 works. This ‘hard-coding’ of the criteria in the query is unacceptable and I need a work-around.
PLEASE HELP!!!!