I have a filtered form with a button which uses “DoCmd.RunCommand acCmdAdvancedFilterSort” to open a query. This code is in the form’s button on click event. When the query opens, how do I save it for example as QueryX. In addition, with each new filtered records I want to use the button to overwrite the query with the same name without being asked for a new save name. Am I asking for the impossible? Any help or ideas will be greatly appreciated.
Acc4Me