query to produce the list, then in the loop you could
<cfif currentrow NEQ recordcount>
Greg
-----Original Message-----
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 10:26 AM
To: CF-Talk
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]

