Yes, I always ensure that my CFPROCPARAM tags are in the same order as the 
stored procedure. I do not rely on named references as I know that they are not 
suported, I simply use the dbvarname of my cfprocparam for my own reference.
 
________________________________

From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Fri 15/07/2005 18:02
To: CF-Talk
Subject: RE: Coldfusion7, <cfprocparam> & blank date fields!



> Be aware that relying on name references when passing
> parameters into a stored procedure from a CF template
> doesn't work correctly 100%, at least from experience
> on SQL Server. To be sure that you don't get mismatched
> parameters, you should call the same number of parameters
> and pass them in the same order that they are declared in
> the procedure.

Named parameters are not supported at all with CFMX, if I recall correctly.
Your CFPROCPARAM tags must be in the same order as the parameters are
declared within the stored procedure.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): 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:212062
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

Reply via email to