Here’s the code:
<cfif StructKeyExists(FORM,"currentEmploy_#i#")>
<!--- they're currently employed, so create default 'EMPTY' date --->
<cfset Employer.dateLeft = CreateDate(1900,1,1)>
<cfelse>
<cfset Employer.dateLeft = CreateDate(ListLast(FORM["empDateLeft_" & i],'/'), ListFirst(FORM["empDateLeft_" & i],'/'), ListGetAt(FORM["empDateLeft_" & i],'2','/'))>
</cfif>
I’ve narrowed it down to the createDate function if the ‘if’ statement returns true. But I don’t see what the problem is. The only type of error explanation I’m getting is “Unrecognized error code: Cannot convert type: com.naryx.tagfusion.cfm.engine.cfStructData : Nested exception message is: java.lang.String”
Doesn’t mean a thing to me though.
Anyone see something that I’m not?