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
- RE: let's just rewrite it.... Hal Helms
- RE: let's just rewrite it.... Nat Papovich
- Re: Test Harnesses Steve Nelson
- RE: Test Harnesses Hal Helms
- RE: Test Harnesses Jeff Peters
- RE: let's just rewrite it.... Toby Tremayne
- RE: let's just rewrite it.... Hal Helms
- RE: Musings on Attributes (was Best Practices...) Patrick McElhaney
- RE: Musings on Attributes (was Best Practices...) Roger B.
- RE: Musings on Attributes (was Best Practices...) Patrick McElhaney
- Attributes & Queries (was: Musings on Attributes) paul smith
- Attributes & Queries (was: Musings on Attributes) Patrick McElhaney
- RE: Musings on Attributes (was Best Practices...) Roger B.
- RE: Musings on Attributes (was Best Practices...) Patrick McElhaney
- OT: Musings on Attributes (was Best Practices...) Peter Theobald
- RE: Musings on Attributes (was Best Practices...) Hal Helms
- RE: Musings on Attributes (was Best Practices...) Patrick McElhaney
- Re: Musings on Attributes (was Best Practices...) Steve Nelson
- Re: Musings on Attributes (was Best Practices...) Jeff Peters
- RE: Musings on Attributes (was Best Practices...) Hal Helms
- RE: Musings on Attributes (was Best Practices...) Nat Papovich
