Scenario: I am creating an advanced search form for an access database. They already have single search forms that run access queries and open in the query window.
Problem: I’d like to mimic this functionality but I am looking to create the query as a string within the code and then open it in a query window. Is this possible? I have searched google but didnt find anything. If its not possible are there any alternatives?
Thanks in advance.
You can open a Form in datasheet view which looks like a query window but you need to create a form add the controls to it and then set the recordsource
e.g.
There are a couple of problems with this.
Honestly modifying a querydef is probably the saner way to go.