I have backed myself into a corner.
I am creating a database that holds data on 'Bugs'/'Life Stages' collected in particular 'Years'/'Seasons' at specific 'Sites'.
So I have a form that allows the user to choose Year/Season combinations AND/OR Bug/Stage combinations AND/OR specific Sites to view in a subform list, and further, to produce a report or a spreadsheet with the data that has been queried.
My query can select the sites that conain the chosen criteria, but when search is done, all year/season and bug/stage combinations are listed for each site.
I have then added a checkbox to allow the user to limit results to just the specific records that are requested for the year/season and bug/stage data.
I have been going in circles trying to understand how to get the subforms for the year/season and bug/stage data to limit results to just the selected criteria.
This is the best explanation I can give, and I am not sure it is very clear, so I am providing a stripped down version of the database with all the objects required to make the form run.
I would really love to hear how to approach this problem. I present the product to the departmental Biologist tomorrow AM with a promise to get this last feature figured out soon.
Daniel Dillon
O o . (<--- brain shrinking at rate shown.)
I am creating a database that holds data on 'Bugs'/'Life Stages' collected in particular 'Years'/'Seasons' at specific 'Sites'.
So I have a form that allows the user to choose Year/Season combinations AND/OR Bug/Stage combinations AND/OR specific Sites to view in a subform list, and further, to produce a report or a spreadsheet with the data that has been queried.
My query can select the sites that conain the chosen criteria, but when search is done, all year/season and bug/stage combinations are listed for each site.
I have then added a checkbox to allow the user to limit results to just the specific records that are requested for the year/season and bug/stage data.
I have been going in circles trying to understand how to get the subforms for the year/season and bug/stage data to limit results to just the selected criteria.
This is the best explanation I can give, and I am not sure it is very clear, so I am providing a stripped down version of the database with all the objects required to make the form run.
I would really love to hear how to approach this problem. I present the product to the departmental Biologist tomorrow AM with a promise to get this last feature figured out soon.
Daniel Dillon
O o . (<--- brain shrinking at rate shown.)