nah.. going to get a pepsi now... no muffins to go with it.. hopefully I won't starve
-----Original Message----- From: Erika L. Walker-Arnold [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 7:38 AM To: CF-Community Subject: RE: Looping through a recordset with CFSCRIPT Continued LOLOL! Want some coffee?! <grin> Erika ------------------------------------------------------------ >>|-----Original Message----- >>|From: Raley, Scott [mailto:[EMAIL PROTECTED]] >>|Sent: 26 March 2002 12:35 >>|To: CF-Community >>|Subject: RE: Looping through a recordset with CFSCRIPT Continued >>| >>| >>|its too early here to ask questions like this.. >>| >>| >>|-----Original Message----- >>|From: Erika L. Walker-Arnold [mailto:[EMAIL PROTECTED]] >>|Sent: Tuesday, March 26, 2002 7:28 AM >>|To: CF-Community >>|Subject: RE: Looping through a recordset with CFSCRIPT Continued >>| >>| >>|Right, but which way is faster? Cleaner? Better? >>| >>|With Neo coming, I'm trying to get my code as clean and efficient as >>|possible ... and I was wondering if more CFSCRIPT was better >>|than less .... >>| >>|Erika >>|------------------------------------------------------------ >>| >>|>>|-----Original Message----- >>|>>|From: Mike Townend [mailto:[EMAIL PROTECTED]] >>|>>|Sent: 26 March 2002 12:21 >>|>>|To: CF-Community >>|>>|Subject: RE: Looping through a recordset with CFSCRIPT Continued >>|>>| >>|>>| >>|>>|The way ive always done it is <CFOUTPUT><CFLOOP QUERY> when ive needed >>|>>|to display the information to the user and then used the CFSCRIPT loop >>|>>|notation for when I need to do something with the query that isnt >>|>>|displayed to the user.... >>|>>| >>|>>| >>|>>| >>|>>| >>|>>|-----Original Message----- >>|>>|From: Erika L. Walker-Arnold [mailto:[EMAIL PROTECTED]] >>|>>|Sent: 26 March 2002 12:08 >>|>>|To: CF-Community >>|>>|Subject: Looping through a recordset with CFSCRIPT Continued >>|>>| >>|>>| >>|>>|>From an earlier question on CF-Talk ..... >>|>>| >>|>>|Someone wanted to loop through a recordset within a CFSCRIPT block, so >>|>>|from our esteemed listmaster's docs >>|>>|(http://www.houseoffusion.com/docs/cfscript.htm) we have this example >>|>>|(great stuff by the way): >>|>>| >>|>>|<CFSCRIPT> >>|>>| For (i=1;i LTE Queryname.Recordcount; i=i+1) >>|>>| writeoutput(Queryname.Record[i]&'<BR>'); >>|>>|</CFSCRIPT> >>|>>| >>|>>|In regular CF: >>|>>| >>|>>|<cfloop query="queryName"> >>|>>| <cfoutput>#Record#<br></cfoutput> >>|>>|</cfloop> >>|>>| >>|>>|Which is better? Should I use CFSCRIPT for looping through and >>|>>|displaying complicated data tables or continue with regular CFOUTPUT? >>|>>| >>|>>| >>|>>|Erika >>|>>|(with a *K*) >>|>>| >>|>>|"Life... is like a grapefruit. It's orange and squishy, >>|>>|and has a few pips in it, and some folks have half a one for >>|breakfast." >>|>>|----------------------------------------------------- >>|>>|Erika L. Walker-Arnold, VP, RUWebby, LLC >>|>>|----------------------------------------------------- >>|>>|Macromedia ColdFusion Alliance Partner >>|>>|Macromedia ColdFusion 5.0 Certified Developer >>|>>|----------------------------------------------------- >>|>>| >>|>>| >>|>>| >>| >>| ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-community@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists