Julie Thomas
asked on
Customize parameter dialog box without MSQuery
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?
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?
maybe you can acomplish your objective by using comboboxes in excel for limiting what data the user can input (see data->validation menu in excel), and also protecting and unprotecting excel sheets.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.