I keep getting the following error when I send this code:
 
<cfif #Form.Image# IS "">
  <!--- Take no action --->
<cfelse>
 <cffile action="UPLOAD"
          filefield="Image"
          destination="D:\html\users\cfxa926\bbeaorg\html\Images\"
          nameconflict="OVERWRITE">
 <CFQUERY NAME="AddImage" DATASOURCE="#datasource#">
    UPDATE     Items
    SET             Image='#cffile.ClientFile#'
    WHERE       ItemID = #Attributes.ItemID#
 </CFQUERY>
</cfif>
--------------------------
Error Diagnostic Information
Error in CFFILE tag
The form field specified in the CFFILE tag (IMAGE) does not contain an uploaded file. Please be sure that you have specified the correct form field name.
The error occurred while processing an element with a general identifier of (CFFILE), occupying document position (32:2) to (35:30).
-----------------------------------

I have never gotten this error before, and cannot seem to figure out what it means.  The field name IS #Image# and seems to work just fine everywhere else in the application.

thanks!

PK

Reply via email to