I
icccapital
I have a subform that is setup to be continuous and has the recordsource set.
When the form is opened it runs fine and shows all the records from the
recordsource query. I then have a check box that if chosen changes the
recordsource to a less filtered version adding, which just removes the where
clause. If the user clicks it again the recordsource is returned to its
previous state.
I do all of this with me.recordsource = "SELECT....", which is all
controlled within the subform.
What happens is when I change the recordsource as above, only one record is
returned in the subform, and if I change it back by clicking the checkbox it
still only shows that one record. Seeing as the second select query is more
inclusive it should be more records not less and certainly not one.
I have attempted, me.requery, me.refresh and me.recalc.
Anybody have any other thoughts? Thank you.
When the form is opened it runs fine and shows all the records from the
recordsource query. I then have a check box that if chosen changes the
recordsource to a less filtered version adding, which just removes the where
clause. If the user clicks it again the recordsource is returned to its
previous state.
I do all of this with me.recordsource = "SELECT....", which is all
controlled within the subform.
What happens is when I change the recordsource as above, only one record is
returned in the subform, and if I change it back by clicking the checkbox it
still only shows that one record. Seeing as the second select query is more
inclusive it should be more records not less and certainly not one.
I have attempted, me.requery, me.refresh and me.recalc.
Anybody have any other thoughts? Thank you.