> If you have many args to pass in, I do it like this
>
> <cfscript>
> //instantiate the component
> newJob = createObject("component","job");
> //create the arg structure
> variables.args = StructNew();
> //assign the args
> variables.args.Val1 = Form.Field1;
> variables.args.Val2 = Form.Field2;
> variables.args.Val3 = Form.Field3;
> variables.args.Val4 = Form.Field4;
> variables.args.Val5 = Form.Field5;
> variables.args.Val6 = Form.Field6;
> variables.args.Val7 = Form.Field7;
> //call the method and pass in the arg collection
> newJob.insertJob(argumentCollection=variables.args);
> </cfscript>
>If you are going to reset all those vars why bother with argcollectin?..just type out your invokeargs...you've almost done that anyway ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232636 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

