'Variable' attribute is only needed/used when you have a retun/OUT/INOUT
value that you need to reference through cfusion.

Kevin Penny,
HotGigs.com

-----Original Message-----
From: G L [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 20, 2005 9:11 AM
To: CF-Talk
Subject: CFPROCPARAM Help Needed

Oh, the error is:
[Microsoft][ODBC SQL Server Driver][SQL Server]Procedure 'qry_autotags3'
expects parameter '@PINNumber', which was not supplied.

> Hi, I have an SP that I want to call correctly. I can simply do:
> exec sp_autotags @PINNumber = #attributes.PIN# within a cfquery tag 
> and it executes fine. But when I try using cfstoredproc/procparam I 
> get errors. I wasn't able to decipher the documentation on the tags. 
> Here's what I'm trying:
> <cfstoredproc procedure="qry_autotags3" datasource="#application.
> ivrdsnsearch#">
> <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" variable="PINNumber" 
> value="#attributes.PIN#">
> <cfprocresult name="qry_autotags" resultset="1">
> 
> The proc returns a resultset like any other query 0-whatever number of 
> records.
> 
> Ideas?
> 
> Thanks.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:207257
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