Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2007-03-26
3
Medium Priority
?
145 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 1500 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
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.

670 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