This seems to have me on the right track....thanks a million! Regards,
Eric J Hoffman DataStream Connexion www.datastreamconnexion.com Delivering Creative Data Solutions -----Original Message----- From: Matthew Walker [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 02, 2003 1:07 PM To: CF-Talk Subject: Re: Obvious cfscript ? You appear to be referring to an array in the form scope. Perhaps this is what you want: line_total[i] = form["d_price#i#"] * form["qty#i#"]; Regards, Matthew Walker Electric Sheep Web http://www.electricsheep.co.nz/ ----- Original Message ----- From: "Eric Hoffman" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 7:41 AM Subject: Obvious cfscript ? > New to monkeying with cfscript...and must be missing the obvious > today: > > This is not resolving...meaning form.d_price[i] resolves as > form.d_price rather than form.d_price1 in the first loop. <cfscript> > for (i=1; i LTE form.clientloop; i = i +1) > line_total[i] = form.d_price[i] * form.qty[i]; > </cfscript> > > What am I forgetting? > > Regards, > > Eric J Hoffman > DataStream Connexion > www.datastreamconnexion.com > Delivering Creative Data Solutions > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

