﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » 1/1/1800 keeps showing up...</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 10:27:02 GMT</lastBuildDate><ttl>20</ttl><item><title>1/1/1800 keeps showing up...</title><link>http://forum.strataframe.net/FindPost8647.aspx</link><description>I have a date field in a BO that i have set to Do Not Allow Nulls... I do not have a default value specified for the field in the table. I have tried it both with the StrataFrame datepicker and the DevExpress wrapped DateEdit and when I click New it puts 1/1/1800 in the date field. I cant find where it's doing that... any suggestions?</description><pubDate>Wed, 02 May 2007 08:55:18 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: 1/1/1800 keeps showing up...</title><link>http://forum.strataframe.net/FindPost8651.aspx</link><description>It's doing it when you call NewRow() on the business object.&amp;nbsp; All of the fields within the row are initialized to blank values, which for a date, is 1/1/1800.&amp;nbsp; You can either set the AllowNullValuesOnNewRows property on the BO to false, and all of the fields will be left with DBNull.Value, or you can set the column to DBNull.Value in the SetDefaultValues() method of the business object (then, the default value of the DB will be used when the records is INSERTed).&amp;nbsp;</description><pubDate>Wed, 02 May 2007 08:55:18 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>