Erm...not done one for a while, isnt it....(probably wrong!)
<cfscript>
myArray = ArrayNew(2);
for (i = 1; i lte YOURQUERY.Recordcount; i = i + 1) {
myArray[i][1] = QueryOne.ID[i];
myArray[i][2] = QueryOne.AID[i];
<!--- etc..... --->
};
</cfscript>
?
Neil Clark
Team Macromedia
http://www.macromedia.com/go/team
Announcing Macromedia MX!!
http://www.macromedia.com/software/trial/
-----Original Message-----
From: Kris Pilles [mailto:[EMAIL PROTECTED]]
Sent: 27 June 2002 15:16
To: CF-Talk
Subject: Dynamic Array Help
Haven't written a dynamic array in a while and need some help..... I
think ive forgotten how to...
Heres the column names....
ID
AID
Title
Description
DID
Grade
Science
Can someone tell me how to create a dynamic array... I need to store my
query results in an array so I can ship it through my API...
Thanks.
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists