Try:
<cfif myQuery.currentRow neq myQuery.recordcount>
<img src="">
</cfif>
Steve
-----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]
- Re: How to know when you have the last record? Jeff Fongemie
- RE: How to know when you have the last record... Shawn Grover
- How to know when you have the last record? Jeff Fongemie
- RE: How to know when you have the last re... Mike Townend
- RE: How to know when you have the last re... Barney Boisvert
- Re: How to know when you have the last re... Charlie Griefer
- RE: How to know when you have the last re... Paul Vernon
- RE: How to know when you have the last re... Greg Luce
- RE: How to know when you have the last re... Kola Oyedeji
- RE: How to know when you have the last record... DURETTE, STEVEN J (AIT)
- RE: How to know when you have the last record... Tim Blair