Hi,
Here is the error message I am getting:
Invalid CFML construct found on line 207 at column 114.
ColdFusion was looking at the following text:
#
The code it is referring to is:
207 <cfif isdefined("form.upload_#rsPamPic.PAM_ID#") and form.upload_#rsPamPic.PAM_ID# NEQ "">
208 <cffile accept="image/*" action="upload"
209 destination="C:\Documents and Settings\Craig\Desktop\PAM UploadedFiles\#rsPamPic.PAM_ID#" filefield="upload_#rsPamPic.PAM_ID#" nameconflict="makeunique">
<cfset Success="#rsPamPic.PAM_ID#">
</cfif>
I know it is referencing line 207 where the code is: and form.upload_#rsPamPic.PAM_ID# NEQ "">
because when I delete this code it doesn't return the error message. I need this part of the code becauase I don't want an error message to be return if the user submits a form and hasn't specified a file to be uploaded.
Thanks,
~Craig
Here is the error message I am getting:
Invalid CFML construct found on line 207 at column 114.
ColdFusion was looking at the following text:
#
The code it is referring to is:
207 <cfif isdefined("form.upload_#rsPamPic.PAM_ID#") and form.upload_#rsPamPic.PAM_ID# NEQ "">
208 <cffile accept="image/*" action="upload"
209 destination="C:\Documents and Settings\Craig\Desktop\PAM UploadedFiles\#rsPamPic.PAM_ID#" filefield="upload_#rsPamPic.PAM_ID#" nameconflict="makeunique">
<cfset Success="#rsPamPic.PAM_ID#">
</cfif>
I know it is referencing line 207 where the code is: and form.upload_#rsPamPic.PAM_ID# NEQ "">
because when I delete this code it doesn't return the error message. I need this part of the code becauase I don't want an error message to be return if the user submits a form and hasn't specified a file to be uploaded.
Thanks,
~Craig