I have a datasheet embedded as a subform. On the main form I want to have a button that will remove a filter set on a specific field in the subform. If the user has set filters on other fields in the subform (using the built-in quick filters) I want to preserve those filters. Is there a way to clear a filter from a specific field without affecting filters that may be set on other fields?
My only idea was to read the subform's Filter property which would return a string with all active filters, then search this string for the field name in question (perhaps using an InStr function) and then work out some logic to delete that portion of the string. Just wondering if there is a more straight-forward way of doing this.