Re: Easy CFLOOP Question
Sorry, too early in the morning. The correct answer is: queryName.currentRow Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Help Desk Demo (VHD) www.scorpiosoft.com/vhd/login.cfm - Original Message - From: "Marius Milosav" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, January 08, 2001 9:00 AM Subject: Re: Easy CFLOOP Question > queryName.recordCount > > Check on line documentation (look at cfquery) for more information. > > Marius Milosav > www.scorpiosoft.com > It's not about technology, it's about people. > Virtual Help Desk Demo (VHD) > www.scorpiosoft.com/vhd/login.cfm > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Monday, January 08, 2001 8:44 AM > Subject: Easy CFLOOP Question > > > > is there a way to find out what row i am on in a cfloop? > > > > Like inside my loop, call a condition like this > > > > > > > > > > We are on row 1 > > > > We are not on row 1 > > > > > > > > > > Is there a way to do this? Some variable i am overlooking? > > > > Thanks > > > > Kevin > > > > > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Easy CFLOOP Question
Yes, use currentRow. Hal Helms == See www.ColdFusionTraining.com for info on "Best Practices with ColdFusion & Fusebox" training, Jan 22-25 == -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 08, 2001 8:45 AM To: CF-Talk Subject: Easy CFLOOP Question is there a way to find out what row i am on in a cfloop? Like inside my loop, call a condition like this We are on row 1 We are not on row 1 Is there a way to do this? Some variable i am overlooking? Thanks Kevin ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Easy CFLOOP Question
rows.currentrow (assuming the rows is the name of your query) > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 08, 2001 8:45 AM > To: CF-Talk > Subject: Easy CFLOOP Question > > > is there a way to find out what row i am on in a cfloop? > > Like inside my loop, call a condition like this > > > > > We are on row 1 > > We are not on row 1 > > > > > Is there a way to do this? Some variable i am overlooking? > > Thanks > > Kevin > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Easy CFLOOP Question
#test.currentrow# From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk <[EMAIL PROTECTED]> Subject: Easy CFLOOP Question Date: Mon, 08 Jan 2001 08:44:48 EST is there a way to find out what row i am on in a cfloop? Like inside my loop, call a condition like this We are on row 1 We are not on row 1 Is there a way to do this? Some variable i am overlooking? Thanks Kevin ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Easy CFLOOP Question
queryName.recordCount Check on line documentation (look at cfquery) for more information. Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Help Desk Demo (VHD) www.scorpiosoft.com/vhd/login.cfm - Original Message - From: <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, January 08, 2001 8:44 AM Subject: Easy CFLOOP Question > is there a way to find out what row i am on in a cfloop? > > Like inside my loop, call a condition like this > > > > > We are on row 1 > > We are not on row 1 > > > > > Is there a way to do this? Some variable i am overlooking? > > Thanks > > Kevin > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Easy CFLOOP Question
Since you are looping over a query, I believe that you can use the queryname.currentrow variable. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 08, 2001 8:45 AM To: CF-Talk Subject: Easy CFLOOP Question is there a way to find out what row i am on in a cfloop? Like inside my loop, call a condition like this We are on row 1 We are not on row 1 Is there a way to do this? Some variable i am overlooking? Thanks Kevin ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Easy CFLOOP Question
First thing that comes to my mind is a loop counter: We are on row 1 We are not on row 1 Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 08, 2001 8:45 AM To: CF-Talk Subject: Easy CFLOOP Question is there a way to find out what row i am on in a cfloop? Like inside my loop, call a condition like this We are on row 1 We are not on row 1 Is there a way to do this? Some variable i am overlooking? Thanks Kevin ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Easy CFLOOP Question
Kevin, You can use cfoutput query and then refer to the currentrow attribute. John Stanley ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Easy CFLOOP Question
is there a way to find out what row i am on in a cfloop? Like inside my loop, call a condition like this We are on row 1 We are not on row 1 Is there a way to do this? Some variable i am overlooking? Thanks Kevin ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists