I have a query that feeds a data table via an ODBC connection. It is currently VBA-free.
I would like to feed the query a user-defined value from a user-friendly dailog box with default values and all the other happy things of which dialog boxes are capable. Based on my reading, it looks like a parameter is in order. MSQuery will not edit my query, however, and the "Parameters..." button is greyed out in the Connections Definition tab. I have been able to generate the "Enter Parameter Value" dialog box by replacing the query parameter with ? in the SQL, but I'm not sure how to customize it. Can I customize it inside the SQL or am I heading down the wrong track?