Hello all,
I am not even sure if I can do what I am trying to do, but it feels like it should be possible. I have a form that is showing 3 pieces of equipment and their attributes. The source of the data is from a query that links together a dozen different tables. The form results filter by any combination of drop down selections to allow drill down to a specific configuration based on any/all parameters.
Is there a way to use the same filter string to update the row source for each dropdown so that it only shows the options that are left after filtering? I am using unbound dropdown boxes as selectors that are pointing to the same query as the form for their RowSource. It seems like I should be able to apply the filter to the RowSource before Requerying all of the dropdowns.
I think I just need to call the select query with a WHERE strFilter, but don't know how to make it work. I have looked, but do not see anyone trying to what I am trying to do in other questions. So, before I spend any more time chasing this feature, I wanted to check if I was even on the right page. I suspect I am missing something obvious that would solve my problem, hence why no one is asking about it. I have looked at the cascading combo boxes, but since I need someone to be able to select any/all of the fields and allow it to drill down, it does not seem to be my answer. Since I found how to make the form do it, I feel like I should be able to make the RowSource do it too.
Any thoughts on what I am trying to do would be most appreciated. I would post the db here, but I am contractually bound not to by my employer. Hence the theoretical question as opposed to a specific code question.
Thank you in advance for any all information anyone may be able to provide. I am using an accdb in Access 2013.
I am not even sure if I can do what I am trying to do, but it feels like it should be possible. I have a form that is showing 3 pieces of equipment and their attributes. The source of the data is from a query that links together a dozen different tables. The form results filter by any combination of drop down selections to allow drill down to a specific configuration based on any/all parameters.
Is there a way to use the same filter string to update the row source for each dropdown so that it only shows the options that are left after filtering? I am using unbound dropdown boxes as selectors that are pointing to the same query as the form for their RowSource. It seems like I should be able to apply the filter to the RowSource before Requerying all of the dropdowns.
I think I just need to call the select query with a WHERE strFilter, but don't know how to make it work. I have looked, but do not see anyone trying to what I am trying to do in other questions. So, before I spend any more time chasing this feature, I wanted to check if I was even on the right page. I suspect I am missing something obvious that would solve my problem, hence why no one is asking about it. I have looked at the cascading combo boxes, but since I need someone to be able to select any/all of the fields and allow it to drill down, it does not seem to be my answer. Since I found how to make the form do it, I feel like I should be able to make the RowSource do it too.
Any thoughts on what I am trying to do would be most appreciated. I would post the db here, but I am contractually bound not to by my employer. Hence the theoretical question as opposed to a specific code question.
Thank you in advance for any all information anyone may be able to provide. I am using an accdb in Access 2013.