I've got a stupid question that I can't find an answer to. I have some
functions that have a returntype of 'date'. In some cases, these values
will be NULL in the database. The problem is that when my getter function
attempts to return the NULL (empty string) date, the code throws an error
because the return type is not a valid date. Is there a way to return an
empty date value with returntype="date" or will I have to change to
returntype="string"?
<cffunction access="remote" name="GetSubExpires" output="false"
returntype="date" displayname="Get object property" hint="Get dtSubExpires
from object">
<cfreturn variables.m_protected.dtSubExpires />
</cffunction>
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]