the maxrows worked too. wasn't sure i could have a cfif in the cfquery tag 
though.

>Very interesting.  I'm curious how maxrows="1" in the cfquery tag would
>have behaved.
>
>~Brad
>
>-----Original Message-----
>From: Mike Little [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, July 10, 2007 6:52 PM
>To: CF-Talk
>Subject: Re: Selecting top row in access db
>
>how about that - adding an additional column to the order by clause
>fixed it!
>
>thanks heaps adrian.
>
>>Have a read of this:
>>
>>http://articles.techrepublic.com.com/5100-22-5035113.html
>>
>>Might explain things.
>>
>>Adrian
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283503
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to