Hi,
I am using Access 2010 for this particular project, though I am familiar with Access 2007.
In my database I have a form that acts like a subform but is not embedded in my main form. I have a command button on my main form that opens the quasi-subform, which I'll call qs from now on, to the current record.
One of the fields on the qs is a checkbox called Inactive. There are potentially a lot of records on the qs, so I thought it would be a neat feature to have a button the user could click to view active records only. So, if the Inactive checkbox was clicked, that particular record would not show.
The problem is that when I try to filter the records on the qs, I get all active records, not only for the particular person (ID) I'm looking for, but for everyone else in the database who has a record on the qs. Is there a way I can code the button to provide only the active records of the current person (ID)? Thank you so much for your time!
I am using Access 2010 for this particular project, though I am familiar with Access 2007.
In my database I have a form that acts like a subform but is not embedded in my main form. I have a command button on my main form that opens the quasi-subform, which I'll call qs from now on, to the current record.
One of the fields on the qs is a checkbox called Inactive. There are potentially a lot of records on the qs, so I thought it would be a neat feature to have a button the user could click to view active records only. So, if the Inactive checkbox was clicked, that particular record would not show.
The problem is that when I try to filter the records on the qs, I get all active records, not only for the particular person (ID) I'm looking for, but for everyone else in the database who has a record on the qs. Is there a way I can code the button to provide only the active records of the current person (ID)? Thank you so much for your time!