﻿<?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  » DateBox vs. DateTimePicker on Browse Dialog</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 05:47:45 GMT</lastBuildDate><ttl>20</ttl><item><title>DateBox vs. DateTimePicker on Browse Dialog</title><link>http://forum.strataframe.net/FindPost28526.aspx</link><description>I am very glad that SQL Server 2008 provides a new Date data type so I do not have to deal with the time portion of the DateTime data type.&lt;br/&gt;&lt;br/&gt;I really like the new StrataFrame DateBox that works well with the new Date data type.&amp;nbsp; The newest SF documentation suggests using this new DateBox instead of the old DateTimePicker when working with simple dates.&lt;br/&gt;&lt;br/&gt;Shouldn't the Browse Dialog be using a DateBox instead of&amp;nbsp;a DateTimePicker when searching for simple dates?&lt;br/&gt;&lt;br/&gt;Also I cannot seem to find a way to control the format of the date search control (currently a DateTimePicker control) on the Browse Dialog.&amp;nbsp; The format seems to be fixed at M/d/yyyy.&lt;br/&gt;&lt;br/&gt;Sam</description><pubDate>Tue, 28 Sep 2010 17:46:07 GMT</pubDate><dc:creator>Sam Tenney</dc:creator></item><item><title>RE: DateBox vs. DateTimePicker on Browse Dialog</title><link>http://forum.strataframe.net/FindPost28536.aspx</link><description>Hi Sam,&lt;br/&gt;&lt;br/&gt;I understand, I believe it is not possible since we don't have access to the dynamic controls of the BD.&amp;nbsp; I think that this has been requested before, but do not recall.</description><pubDate>Tue, 28 Sep 2010 17:46:07 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: DateBox vs. DateTimePicker on Browse Dialog</title><link>http://forum.strataframe.net/FindPost28531.aspx</link><description>Thanks Edhy,&lt;br/&gt;&lt;br/&gt;I have been using the date range approach already, but it seems odd that I cannot control the format of the date in the DateTimePicker on the Browse Dialog and I wish the control used was a DateBox control instead of a DateTimePicker control.&amp;nbsp; SQL Date types should use a DateBox and SQL DateTime types should use a DateTimePicker.&lt;br/&gt;&lt;br/&gt;Sam</description><pubDate>Tue, 28 Sep 2010 16:25:57 GMT</pubDate><dc:creator>Sam Tenney</dc:creator></item><item><title>RE: DateBox vs. DateTimePicker on Browse Dialog</title><link>http://forum.strataframe.net/FindPost28528.aspx</link><description>Hi Sam,&lt;br/&gt;&lt;br/&gt;When using a date field in a browser dialog, usually you need to setup a range of the same file to search From and To.&amp;nbsp; Following that scenario in your BD search fields, you need to create the same field but with Unique Keys as follow:&lt;br/&gt;&lt;br/&gt;Search From Field:&lt;br/&gt;Unique Key: MyDateField_From&lt;br/&gt;In the General Tab, Search Style: Greater Than or Equal To&lt;br/&gt;In the Date Tab, Time Action: Set Time To Start of Day (Midnight)&lt;br/&gt;&lt;br/&gt;Search To Field:&lt;br/&gt;Unique Key: MyDateField_To&lt;br/&gt;In the General Tab, Search Style: Less Than or Equeal To&lt;br/&gt;In the Date Tab, Time Action: Set Time To End of Day (23:59:59)&lt;br/&gt;&lt;br/&gt;With above setting you can search for a particular date and will show the records correctly.&lt;br/&gt;&lt;br/&gt;About the BD using a datetimepicker, I don't know why they have not implemented a datebox yet, but could be because the datetimepicker support both date and time and DateBox not.</description><pubDate>Tue, 28 Sep 2010 15:22:19 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>