actually you can... queryname.columnName[rowNumber]
(which is a way to loop over query data in cfscript) On 5/24/05, Rebecca Wells <[EMAIL PROTECTED]> wrote: > So, if you can't just use the structname[structKey] kind of reference for a > query then how can you reference reference a query value using this model, if > at all? > > >> -----Original Message----- > > > >The FORM scope (and all other scopes) are plain-jane structs - there's no > >real difference between them and a struct()-generated structure. You can > >use all the struct functions on scopes. > > > >A query is more complex: it's actually a structure of arrays (each column is > >an array). You can't use many of the struct functions on queries however, > >but you can use most of the array functions on query columns. > > > >I'm not sure if this makes it better or worse, but there it is. > > > >Jim Davis > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207603 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

