easy when you know how! cheers james
-----Original Message----- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 03 February 2005 2:41 pm To: CF-Talk Subject: RE: Passing FORM variables to Components? Pass the FORM scope as a new argument: TestVariable = ThisRotaDetailAttributes.RollingRotaUpdate(url.rid, FORM) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 3 February 2005 10:36 To: CF-Talk Subject: Passing FORM variables to Components? Hi all, I have an old CF app that is passing a *varying number* of FORM variables to a custom tag using (varies according to setup of user, etc): <cfmodule template = "SQLQueries/SQLRollingRota.cfm" function = "UpdateRollingRotaConfig" ThisRotaID="#url.rid#"> In the tag: <cfloop collection="#Form#" item="MyDayValue"> #MyDayValue# ... </cfloop> Is there an easy way to pass Form variables to my new CFC to process? <cfscript> ThisRotaDetailAttributes = CreateObject("Component", callout.modules.DB_components.database_rota_attributes"); TestVariable = ThisRotaDetailAttributes.RollingRotaUpdate(url.rid); </cfscript> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192884 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

