I have a database that I filter a certain records through on to a form. I use the following code to link the form:
stDocName = "Form Name"
stLinkCriteria = "this field" & "this forms field"
DoCmd.OpenForm stDocName, , , stLinkCriteria
I want to be able to make the form go back to having all records after I filter it. When the form opens it filters to my specifications, and then I want to be able to look at the rest of records, how do I do that?
stDocName = "Form Name"
stLinkCriteria = "this field" & "this forms field"
DoCmd.OpenForm stDocName, , , stLinkCriteria
I want to be able to make the form go back to having all records after I filter it. When the form opens it filters to my specifications, and then I want to be able to look at the rest of records, how do I do that?