troubleshooting Question

Customize parameter dialog box without MSQuery

Avatar of Julie Thomas
Julie ThomasFlag for United States of America asked on
Microsoft Excel
2 Comments1 Solution1592 ViewsLast Modified:
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?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros