Pete,

I guess I've never seen it done like that before. I have always seen either
Arg collection OR specific vars. I didn't know you could mix and match (or
if I knew I forgot:). Nice tip!

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-----Original Message-----
From: Peter Boughton [mailto:[email protected]] 
Sent: Friday, March 06, 2009 1:09 PM
To: cf-talk
Subject: Re: I give...anything inherently wrong with this code that would
cause this error?


Even treating it as a function call, copying application vars into form
scope is not recommended, nor necessary.

It is perfectly acceptable, and more readable, to do this:

processForm( ArgumentCollection = Form , DSN = Application.DSN )


CF will use ArgumentCollection values unless there is a specific argument
overriding it. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320180
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to