David,

  You can also use queries as arrays.  For example, if I have a query called
"Articles" with a column named "TITLE", and I want the 5th
row, I can use Articles.Title[5].

I rarely see a need for arrays with CF, though other programmers seem to use
them for everything.  I don't quite understand that.  I've seen a lot of
programming, even custom tags, that translate native CF data elements into
arrays, when it is easier to use the native data element.

Chris Evans
[EMAIL PROTECTED]
http://www.fuseware.com


-----Original Message-----
From: David Cummins [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 03, 2000 7:10 PM
To: [EMAIL PROTECTED]
Subject: Help: Can arrays be used like queries


Hi all,

I don't know if this is possible, but can arrays or any other ColdFusion

structures be used like queries, i.e. <cfoutput
query="arrayorsomething">, or converted to a query?

It's just that it could be a pain converting pages that were initially
created to use queries to use loops on arrays instead, and named columns

make for more programmer-friendly pages.

TIA

David Cummins
Ubiquity Software Ltd.



----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to