Ian Vaughan wrote:
>  
> That is very true, and I have added the missing line
>  
> <cfqueryparam cfsqltype="cf_sql_number" value="#id#">,
>  
> But did not make any difference to the error message it is still saying
> what is shown below.  It is also worth looking at the SQL and you will
> see that no values have been passed just (param1), (param2) etc ???

That is the way it should look when using cfqueryparam.

> 53 :     <cfqueryparam cfsqltype="cf_sql_varchar" value="#security#">,
> 54 :     <cfif
> isdefined("file.serverFile")>'#file.serverFile#'<cfelse>NULL</cfif>,
> 55 :     <cfqueryparam cfsqltype="cf_sql_blob" value="#content#">
> 56 : </cfquery>
> 57 :  
> ________________________________
>
> SQL     INSERT INTO itarticle (id, articledate, articletitle,
> articlesummary, articleauthor, security, imgsrc, articlebody) VALUES (
> (param 1) , (param 2) , (param 3) , (param 4) , (param 5) , (param 6) ,
> NULL, (param 7)

You are missing a right parenthesis.

Jochem

--
When you don't want to be surprised by the revolution
organize one yourself
     - Loesje
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to