J
John Keith
Is there anyway to seperate the me.filteron property between the mainform and
subform?
My subform has a button that launches a popup form that passes back a 1:M
key that shows the multiple matching rows in the sub-form detail section.
My mainform has the above sub-form in its header section, along with more
unbound search boxes that build a filter string specifically for the
mainform. Sub and Main are not linked by any key fields. I can apply a
filter string to the mainform and the main-detail rows change to match the
filter, at the same time, the sub-form's previously filtered rows remain
static. My purpose in designing it this way is to allow clicking on a
main-detail to cause it to change the foreign key to match the selected key
in the sub-form. This all works fine.
The issue comes along when I want to reset my main-form filter, it is also
effecting the sub-form. Digging through the Me. object variables I can only
find 1 reference to the Me.FilterOn variable. The Me.Controls(subform).___
does not contain a FilterOn setting.
So is it impossible to have a subform-filter on at the same time that the
form-filter is off?
This is using Office 2003's Access w/All SPs applied.
subform?
My subform has a button that launches a popup form that passes back a 1:M
key that shows the multiple matching rows in the sub-form detail section.
My mainform has the above sub-form in its header section, along with more
unbound search boxes that build a filter string specifically for the
mainform. Sub and Main are not linked by any key fields. I can apply a
filter string to the mainform and the main-detail rows change to match the
filter, at the same time, the sub-form's previously filtered rows remain
static. My purpose in designing it this way is to allow clicking on a
main-detail to cause it to change the foreign key to match the selected key
in the sub-form. This all works fine.
The issue comes along when I want to reset my main-form filter, it is also
effecting the sub-form. Digging through the Me. object variables I can only
find 1 reference to the Me.FilterOn variable. The Me.Controls(subform).___
does not contain a FilterOn setting.
So is it impossible to have a subform-filter on at the same time that the
form-filter is off?
This is using Office 2003's Access w/All SPs applied.