Solved

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

Posted on 2007-03-26
3
141 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 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

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access Need to add combo box to sub form 10 52
Why can't I change data in my query? 3 38
SonicWall port forward 4 29
Error message for incorrect or missing hyperlink 3 27
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

752 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