Do not know if this is a bug or something normal, but if I have my query like 
so...I get the following error. Notice where the <cfqueryparam> is. I hunted 
for hours trying to figure out where this was coming from. Can someone confirm 
this?



[Macromedia][SQLServer JDBC Driver]Value can not be converted to requested type.



  <CFQUERY name="MemberDetails" datasource="#APPLICATION.DB#" 
username="#APPLICATION.UN#" password="#APPLICATION.PW#">
  SELECT   *
  FROM   #APPLICATION.DBPRE#MemberProfile
  WHERE   #APPLICATION.DBPRE#MemberProfile.MemberID =
  <CFQUERYPARAM cfsqltype="CF_SQL_BIGINT" value="#Val(ARGUMENTS.MemberID)#">
  </CFQUERY>




But if I have it like so, everything works fine

  <CFQUERY name="MemberDetails" datasource="#APPLICATION.DB#" 
username="#APPLICATION.UN#" password="#APPLICATION.PW#">
  SELECT   *
  FROM   #APPLICATION.DBPRE#MemberProfile
  WHERE   #APPLICATION.DBPRE#MemberProfile.MemberID =<CFQUERYPARAM 
cfsqltype="CF_SQL_BIGINT" value="#Val(ARGUMENTS.MemberID)#">
  </CFQUERY>



Doug B.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264550
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to