Solved

Using UNION ALL in a SQL statement in CF and getting too few parameters error.

Posted on 2007-03-26
3
136 Views
Last Modified: 2013-12-24
I am using ColdFusion and MS Access.  I have a UNION ALL query in MS Access that I am attempting to call from a CF page.  I am getting a 'too few parameters' error message.

Can you sometime tell me how to get around this?

Thanks!
0
Comment
Question by:dkbailey1
  • 2
3 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 18794489
in most cases  'too few parameters' error message is caused by error in the names of the fields from the query..



0
 

Author Comment

by:dkbailey1
ID: 18794516
I can run the query just fine in MS Access when I do SELECT * from queryname from CF, I get the error message too few parameters.

Thanks for you help, any other suggestions?
0
 

Author Comment

by:dkbailey1
ID: 18794898
I figured out my problem.  Take the points.  Thanks for your help.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now