Solved

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

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

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

705 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

21 Experts available now in Live!

Get 1:1 Help Now