I just encounted a ploblem to save date field to Access database. It is like:<br>Page 1:<br><cfform action="DateTestAct.cfm" method="post"><br> <cfinput type="text" size="20" name="DateTx"><br> <input type="submit" name="Submit" value="Submit"><br></cfform><br><br>action page for page 1:<br><cfquery datasource="aaa" name="DateTest"><br>insert into DateTest<br>(TestDate)<br>values(#DateTx#);<br></cfquery><br><br>DB: DateTest, TestDate(Type)
Date/Time)<br>I have defined the default value of TestDate to be null. <br>If I enter date like "01/01/2000" in the form, no problem, the database can accept, but the actual date it saved was "1899-12-31".<br>And if I didn't key in anything in the form, then CF will reject an error message to me.<br>So how can I overcome it?<br>Thanks a lot!<br>