Try adding Val() around the arguments.photographerid as

>319 :           <cfquery name="qPhotographer" dataSource="#ipi_dsn#">
>320 :                   SELECT * FROM ipi_photographers
>321 :                   WHERE id = <cfqueryparam CFSQLType="CF_SQL_INTEGER"
>value="#val(arguments.photographerid)#" />
>322 :           </cfquery>
>323 :           <cfreturn qPhotographer />


IF it works, it means occasionally you are sending in a blank value 
when it requires an integer 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343873
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to