A query basically is a type of structure, and can also be navigated
like an array, so if you learn to navigate through the query using the
row numbers and data elements, you can build pagination or most any
other output without needed to load the query into an intermediate
array or structure.

On Thu, Sep 2, 2010 at 2:46 PM, Lewis Billingsley
<[email protected]> wrote:
>
> Greetings,
>
>   This is a general question and not for a specific project.  I'm trying to 
> understand when arrays would come in handy with capturing query restults as 
> opposed to just using <cfoutput>.  For instance, it may happen that you may 
> need to move the results from one page to another. (Although, I don't know 
> when you would need that.) But, in general, when would you need to use an 
> array?  And, when would you need to use a structure to capture query results?
>
> Thanks much in advance,
> L

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5089
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to