Perhaps a ternary conditional? "{(myDateProperty) ? myDateProperty : someDefaultDate}"
Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Monday, March 19, 2007 3:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to DataBind to DateField when Null Values come into play?? Hello All, What is the proper way to bind Data to a DateField? I ask this, because I get an error when I bind a Variable contained within a ValueObject (which contains a Null Value), to a DateField Control. Is it safe to say, that this DateField doesn't act like a TextField? Do I require a regular Variable cast as a "Date" to serve as a "go-between", when transferring the ValueObject data to the DateField? I hope I am properly asking this question :) Thanks in advance for your help, Mike