G
Guest
I have created a form that contains a tab control with 5 tabs. Each tab
contains identical subforms and all read from a single query. The subforms
of course are named differently, but the contents and layouys are all the
same.
The intension is to pull up a record on the main form and each tab would
show the subforms with different filters.
I have created filters for each subform that are applied at "onload" for
each subform. And then apply the filteron at that time as well.
This seems to work most of the time, but for some reason I cant get all 5
subforms to filter. I open the subforms separately and they all filter fine.
Then open the main form containing the surforms and the filters on 2 subform
are lost. I have even copied existing subforms that filter fine, change
nothing, and use them in place of another that doesn’t work, and it doesn’t
filter. I have been working on this for some time and am starting to wonder
if there isn’t something wrong with Access.
I know I can get this resolved by making a separate filtered queries for
each subform, but I am trying to avoid this. I would like to have a single
query driving several filtered subforms all viewable under a single main
form.
Is this reasonable or do you really need separate queries to drive subforms?
I am wondering if there is a better way to do this.
I would greatly appreciate any feedback!
contains identical subforms and all read from a single query. The subforms
of course are named differently, but the contents and layouys are all the
same.
The intension is to pull up a record on the main form and each tab would
show the subforms with different filters.
I have created filters for each subform that are applied at "onload" for
each subform. And then apply the filteron at that time as well.
This seems to work most of the time, but for some reason I cant get all 5
subforms to filter. I open the subforms separately and they all filter fine.
Then open the main form containing the surforms and the filters on 2 subform
are lost. I have even copied existing subforms that filter fine, change
nothing, and use them in place of another that doesn’t work, and it doesn’t
filter. I have been working on this for some time and am starting to wonder
if there isn’t something wrong with Access.
I know I can get this resolved by making a separate filtered queries for
each subform, but I am trying to avoid this. I would like to have a single
query driving several filtered subforms all viewable under a single main
form.
Is this reasonable or do you really need separate queries to drive subforms?
I am wondering if there is a better way to do this.
I would greatly appreciate any feedback!