QueryOfQuery ColdFusion

This is a discussion on "QueryOfQuery ColdFusion" within the Databases section. This forum, and the thread "QueryOfQuery ColdFusion are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Databases

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 18th, 2006, 19:39
New Member
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
QueryOfQuery ColdFusion

The column "title" exists in a normal query.

Need to select the first letter of the titles to build a list for a prev-next alphabetical search.

I am not able to make this QoQ work.

I have tried many variations both in the SELECT statement and in the GROUP BY

<cfquery name="getFirstLetters" dbtype="query">
SELECT #left(getEntries.Title,1)# as FirstLetter
FROM getEntries
GROUP BY #left(getEntries.Title,1)#
</cfquery>
<cfset activeLetters = ValueList(getFirstLetters.FirstLetter)>

Any help cordially appreciated. Thank You
ContiW
Reply With Quote

Reply

Tags
queryofquery, coldfusion

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ColdFusion - Using listboxes - Need Help! Keeldog Other Programming Languages 1 Apr 18th, 2008 05:27
Junior Coldfusion Developer anzagi Job Opportunities 0 Jun 17th, 2007 12:06
Access, 3NF, ColdFusion, Excedrin jswebdev Databases 1 May 13th, 2006 13:03
Coldfusion Developer Position lintasllc Job Opportunities 0 Dec 15th, 2005 19:55
Junior Developer - Coldfusion - Cambs-UK gsl_recruitment Job Opportunities 0 Oct 11th, 2004 14:27


All times are GMT. The time now is 01:24.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43