Answered
Writing CFIF within a loop
Hi -
I've googled all over for this simple chunk of code to no avail. I have a CFQUERY grouped by date, which is returning about 10 records right now. I want to sneak in an icon to accompany the first record returned, leaving the remain 9 records to loop with no icon. I'm assuming it's a simple CFIF checking to see if it's the first row or the query result, but I can't find the syntax.
Any help?
Thanks!
I've googled all over for this simple chunk of code to no avail. I have a CFQUERY grouped by date, which is returning about 10 records right now. I want to sneak in an icon to accompany the first record returned, leaving the remain 9 records to loop with no icon. I'm assuming it's a simple CFIF checking to see if it's the first row or the query result, but I can't find the syntax.
Any help?
Thanks!
