Hello everyone, I have a problem with the form when I close it, it asks me to save the changes every time. The code works well when filtering, if anyone has a better way to do this, (I think it's a bad idea, deleting the query every time I filter, I found the code on Google) I would appreciate it.