I got it... Rick
-----Original Message----- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Saturday, October 06, 2007 4:05 PM To: CF-Talk Subject: How would I make this code work? Hi, all. I'm trying to output a weekly schedule which will list the day only one time for the first event of a particular day. When the day changes, the new day of the week is displayed. I did something like this successfully recently with a calendar by running a query for the dates, then looping through all the events for the day, etc. However, I'm wondering if there's a simpler way. I tried this, but it didn't work: <cfif get_events.event_day[currentorw] is not get_events.event_day[currentrow - 1]> <cfoutput>#get_events.event_day#</cfoutput> </cfif> It was a shot in the dark, but, apparently missed the target. Ideas? (CF8) Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290464 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

