Could you put the query in attributes' scope: attributes.MyQuery ?

Would this save a copy?  You could just refer to attributes.MyQuery.firstname

best,  paul

At 12:29 PM 3/26/01 -0500, you wrote:
>Yes, I do that all the time. I've always assumed that's the way everyone
>does it. In fact, I think I go a step farther than most people. If I
>query for a single item in a database, I'll actually copy the results
>to attributes variables. (i.e. attributes.firstname = qryUsers.firstname)
>And if the query returns multiple rows, I'll just copy the entire query
>to the attributes scope.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to