<cfif queryname.currentRow NEQ queryname.recordCount>

----- Original Message -----
From: "Jeff Fongemie" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, February 26, 2004 8:25 AM
Subject: How to know when you have the last record?

> Hey,
>
> I'm outputting a query as a list. Visually, I'm inserting an image between
each record. It looks great until the last record, and I get the image at
the very end.
>
> What would be the best way to know that I'm at the end of my record set
and not show the image?
>
> Something like: <cfif not lastrecord(myquery.recordcount)>
>                  <img src=""> >                 </cfif>
>
> Is there an easy way to accomplish this?
>
> -Jeff
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to