That's sort of a drag. I have several date fields in the database and most of them can all be null/empty. I guess I can't even use type="date" on the setter <cfargument> tag because I may want to set the field to NULL.
The other option is to return a bogus date that the code understands to represent NULL. I was hoping that I missed something before taking the steps necessary to rework the code. BTW, I also found out that you can't name a cffunction 'GetPassword' because of a conflict with a Java function with the same name. Is there a list somewhere of 'reserved' function names that should be avoided? TIA, sj > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Bryan F. Hogan > Sent: Wednesday, May 26, 2004 3:42 PM > To: [EMAIL PROTECTED] > Subject: Re: [CFCDev] cffunction returntype="date" > > If I'm not mistaken it can't be a date object if it is null. I would > suggest converting it to a string. Or I think there is a way to create > your own returntype by creating a cfc for it. I've never been able to > get it to work though. > > Scott Jibben wrote: > > > Is there a way to return an > > empty date value with returntype="date" or will I have to change to > > returntype="string"? > ---------------------------------------------------------- > 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] ---------------------------------------------------------- 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]
