<cfif currentRow EQ recordCount> is the simple case.  With start/end
on the loop, I'd expect the equivalent would be <cfif currentRow EQ
myEndRowVar>, where myEndRowVar is the variable you use to set the
'end' attribute.  Just output currentRow inside your loop, and the
right comparison should be obvious.

cheers,
barneyb

On Nov 8, 2007 8:15 PM, Steve Sequenzia <[EMAIL PROTECTED]> wrote:
> I have a loop that uses a cfquery with a start and end for paging. I am 
> trying to figure out if there is a way for me to know if the current record 
> in the loop is the last record. I know how to tell based on the query but I 
> am not sure how to know based on the loop.
>
> Any help on the would be great.
>
> Thanks in advance

-- 
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293015
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