if sub_cat is a numeric field then it should not be used with the single
quotes ' '

Example
Where sub_cac = #url.catno#


>>> [EMAIL PROTECTED] 01/10/03 09:11AM >>>
Hi

Any ideas on why I am getting the following error from my code? The
downloaddetail.cfm page is where the error is occuring, I am using the
following query on this page

<CFQUERY name="docs" datasource="intranetv8">
SELECT *
FROM downloads
WHERE sub_cat='#URL.catno#'
</CFQUERY>
Error Occurred While Processing Request
      Error Diagnostic Information

      An error occurred while evaluating the expression:


#URL.catno#



      Error near line 9, column 17.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to