W Luke <mailto:[EMAIL PROTECTED]> wrote:

> If I understand what you're asking you should be able to accomplish
> that by using QueryOfQuery functionality which lets u use regular SQL
> to query an existing recordset in memory. 

Completely forgot about QoQ - been salivating over that for years, and
only now (having moved to MX) do I have a chance to use it!  

Does it have a problem in calling "TOP 2" records?  For instance:

<Cfquery name="mytest" dbtype="query">
SELECT TOP 2 ProductName
FROM AllPaid
WHERE ProductID = 5
</CFQUERY>

That causes an error with me.  Any ideas?

Will


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to