Cfinvoke _generally_ is only used when you want a single call against an object. If you want to store that object in memory then it's common to use CreateObject() with either a cfset or a cfscript call. Those last two are equivalent.
-----Original Message----- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 10:49 AM To: CF-Talk Subject: Invoking component OK, so I see that there are at least three ways to invoke a component. Using the CFINVOKE tag, CFSET and wrapped in CFSCRIPT. So what is the best method? Or are there different situations where you would use one or the other? I would think that each has an advantage and disadvantage. I typically use CFINVOKE, although recently I have been using the CreateObject method in a CFSCRIPT tag. Bruce ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290778 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

