Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Too few parameters. Expected 1 Error

Status
Not open for further replies.

MitchPitt

MIS
Jan 16, 2003
25
US
I want to import a query from access into excel, and I keep getting the error "Too few parameters. Expected 1". The thing I don't understand is the query will run flawlessly in access, but for some reason does not work when wanting to import it into Excel. Suggestions?
 
No parameter in your query ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
There are no parameters. I don't understand how it works in Access, but not in Excel
 
Any chance you could post the SQL code of your query ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
I have been looking at my queries, I think I may have some small issues in some of the queries. The final query relies on layers of different queries. I will let you know if I get anywhere with it.
 
Figured it out, apparently Excel doesn't like sql queries with static fields placed in the query on the fly (ex. "hello" as Message).
 
static fields placed in the query on the fly
???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top