What about:
setVariable("obj" & i, createObject("component", "accounts"))
Adam Wayne Lehman
Web Systems Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of James K Tieman
Sent: Monday, October 13, 2003 10:59 AM
To: Cfcdev
Subject: [CFCDev] Query Results into objects
I want to create objects from a query recordset and I don't know how to
name
the objects so I can, for example, obj7.setAmount(obj1.getAmount() *
obj4.getAmount()). <c<cfset obj#i# =
CreateObject('component','accounts')>
<cfset obj#i#.init()> I realize I'm showing my ignrnc, but that's why I
asking.
Jamie
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]