do you mean how do you use a cfloop inside a cfscript?

you don't. (unless you write a CFC to do it)

but you can use the normal scripting loop style. If its a query, do this:

for (i=1;i lte myQuery.recordcount;i = i+1) {
        myvar = myQuery.somecolumn[i];
}

> -----Original Message-----
> From: Matt Horn [mailto:[EMAIL PROTECTED]
> Sent: 25 March 2003 11:42
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] CFLOOP
> 
> 
> you use a <cfloop> inside a <cfscript> block?
> 
> 
> Matt Horn
> Senior Web Applications Developer
> MediaTel Group
> 84-86 Regent Street
> London
> W1B 5AJ
> Tel: +44(0)20 7439 7575
> Fax: +44(0)20 7734 0940
> 
> MediaTel.co.uk's 140 subscribers include 29 of the top 30 UK 
> media agencies 
> - responsible for over �6.3billion of media spend annually.
> (source: ACNielsen MMS: Dec 01 - Nov 02)
> 
> www.MediaTelGroup.co.uk
> 
> This message is for the named recipient's use only and may contain 
> confidential or privileged information. If you receive this 
> message in 
> error, please immediately delete it and all copies of it from 
> your system, 
> destroy any hard copies of it and notify the sender. You must 
> not, directly 
> or indirectly, use, disclose, distribute, print, or copy any 
> part of this 
> message if you are not the intended recipient. Email 
> communications are not 
> secure and therefore the MediaTel Group does not accept 
> liability for any 
> errors or omissions in the contents of this message which 
> arise as a result 
> of email transmission. MediaTel reserves the right to monitor 
> all email 
> communications through its networks. Any views expressed by 
> an individual 
> in this email do not necessarily reflect the views of the 
> MediaTel Group. 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to