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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top