Difference between opening a form and switching between design//vi

D

Dan Neely

I have a form with a filtered subform. IF I open the parent form normally
the filter is applied via the Form_Load event (Me.FilterOn = true). If I
have the parent open in design view and then use the context menu on it to
switch to form view the Form_Load event in the subform fires (checked via
breakpoint), but the filter itself isn't applied.
 
D

Dan Neely

Dan Neely said:
I have a form with a filtered subform. IF I open the parent form normally
the filter is applied via the Form_Load event (Me.FilterOn = true). If I
have the parent open in design view and then use the context menu on it to
switch to form view the Form_Load event in the subform fires (checked via
breakpoint), but the filter itself isn't applied.

Code from an event I'd forgotten about was to blame, how I was opening the
form was innocent.
 
Top