How about a method that does "send a notification to these users". You might pass in an array of user objects, but depending on how the rest of your app is set up, you might well be passing a recordset. You could write also it so that you'd notify each user individually (separate method call), and do the loop over the recordset outside the method, but I personally don't like that approach. Or you might even do both, where the CFC client passes a recordset to a method, and all that method does is a loop and call another method for each row.
Really any place you need to pass in multiple "things" is a candidate for using a recordset. Some places you'll pass in object collections, some places you'll use recordsets. And in any app, you could, based on personal preference, do it all one way or the other, if you so chose. Just different routes to the same end. cheers, barneyb On Mon, 17 Jan 2005 18:43:39 -0500, Adam Haskell <[EMAIL PROTECTED]> wrote: > I guess when I think about what I would be doing I can only think of > procesing individual rows in the query not doing in processing to the > query itself...I can understand returning a query I use that plenty of > places... But thats kind of what i am getting at, when it comes to > pasing in a query, if I have an object that works at getting data and > returning queries why would i not just be passing in the object and > not the query? I am not saying its wrong one way is wrong, I am just > trying to understand, never had a place where I saw it > happening...guess an example is what i am looking for. > > Adam H -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 8 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware: 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:190875 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

