This is strange...
I have a form with a subform. On the button for next record on the main form, I have code to change the recordsource of the subform. The code executes, and in the immediate window I can see the proper recordsource for the subform. The problem is, that the proper records don't show up. I cut the subject recordsource out of the immediate window and... lo and behold, I get the proper records. I then right clicked on the subform and remove all filters and the records show up fine. I added the line Forms!myform.mysub.form.filteron = false and still no luck. There is no filter in design mode... I'm stuck...
Thanks,
Scott
I have a form with a subform. On the button for next record on the main form, I have code to change the recordsource of the subform. The code executes, and in the immediate window I can see the proper recordsource for the subform. The problem is, that the proper records don't show up. I cut the subject recordsource out of the immediate window and... lo and behold, I get the proper records. I then right clicked on the subform and remove all filters and the records show up fine. I added the line Forms!myform.mysub.form.filteron = false and still no luck. There is no filter in design mode... I'm stuck...
Thanks,
Scott