[Top] [All Lists]

Re: Array argument array return

Subject: Re: Array argument array return
From: "Dan Bracuk"
Date: Tue, 4 Mar 2008 16:31:40 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
Assuming the incoming array is 1D,  then, inside your function.

 Step 1 - convert it to a list
 Step 2 - Use that list in your query.  This query should return the id and the 
count of their contracts sold.
 Step 3 - create an empty 2D array
 Step 4 - populate it from your query
 Step 5 - return it

<Prev in Thread] Current Thread [Next in Thread>