﻿<?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 » WinForms (How do I?)  » BrowseDialog and List Controls</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 10 Sep 2026 00:47:53 GMT</lastBuildDate><ttl>20</ttl><item><title>BrowseDialog and List Controls</title><link>http://forum.strataframe.net/FindPost14037.aspx</link><description>I have a form that collects data on a doctor's patient evaluation.&amp;nbsp; The Evaluation table (and associated BO) only stores the primary key for the doctor in the Doctor table.&amp;nbsp; The user selects the doctor's name&amp;nbsp;from a&amp;nbsp;dropdown list (PopulationType = BusinessObject) that is populated from a business object mapped to the Doctor table.&amp;nbsp; I need to create a browse dialog&amp;nbsp;for the Evaluations where one of the search fields is the&amp;nbsp;doctor's name but the only data pertaining to the doctor in the Evaluations BO is the doctor's ID in the Doctors table.&amp;nbsp; &lt;/P&gt;&lt;P&gt;How can I make doctor name one of the searchable fields in this scenario?&amp;nbsp; I looked at PopulatedThroughEvent but I don't think that's the ticket.&amp;nbsp;</description><pubDate>Thu, 07 Feb 2008 07:06:00 GMT</pubDate><dc:creator>fansanitis</dc:creator></item><item><title>RE: BrowseDialog and List Controls</title><link>http://forum.strataframe.net/FindPost14157.aspx</link><description>Good to hear....yeah there have been a number of users (including ourselves) that had run into this issue.&amp;nbsp; This also allows you to have the same date field included more than once and then to a less than ad greater than query to get results between dates.&amp;nbsp; Glad you got it going :)</description><pubDate>Thu, 07 Feb 2008 07:06:00 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog and List Controls</title><link>http://forum.strataframe.net/FindPost14153.aspx</link><description>Installed the 1.6.5 beta and I was able to set the date search not to use time.&amp;nbsp; Thanks Trent!!</description><pubDate>Thu, 07 Feb 2008 06:17:42 GMT</pubDate><dc:creator>fansanitis</dc:creator></item><item><title>RE: BrowseDialog and List Controls</title><link>http://forum.strataframe.net/FindPost14108.aspx</link><description>Download the beta of 1.6.5 from the posted releases section of the forum: &lt;A href="http://forum.strataframe.net/FindPost13756.aspx"&gt;http://forum.strataframe.net/FindPost13756.aspx&lt;/A&gt;&amp;nbsp;.&amp;nbsp; There have been a significant number of enhancements made to the BrowseDialog, this is one of them.</description><pubDate>Wed, 06 Feb 2008 13:40:55 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog and List Controls</title><link>http://forum.strataframe.net/FindPost14104.aspx</link><description>Thanks for the direction!!&amp;nbsp; As for the Date tab on the Search Field Criteria page,&amp;nbsp;I'm not seeing it.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/bcdd80ea-cf35-4f5b-b36f-9132.bmp"&gt;</description><pubDate>Wed, 06 Feb 2008 13:04:30 GMT</pubDate><dc:creator>fansanitis</dc:creator></item><item><title>RE: BrowseDialog and List Controls</title><link>http://forum.strataframe.net/FindPost14083.aspx</link><description>[quote]Can the text portion of the combobox be made "editable"?&amp;nbsp; The way it stands now, it appears you can only search on a specific list item (Equals) and leaves the rest of the advanced options irrelevant if the list item values are physicians names.&amp;nbsp; Is there any way of joining the "searchable" BO to a textbox instead of a combobox where entered text could be used to do partial name searches instead of exact matches?[/quote]&lt;/P&gt;&lt;P&gt;At present, no.&amp;nbsp; You are basically wanting to search a different table than the browsedialog represents.&amp;nbsp; In our medical software, we simply populate this combo with the doctors and they can choose which doctor (which uses the normalized foreign key field).&amp;nbsp; To be able to search on the last name of the doctor, that field would have to exist in the table in which you are searching.&amp;nbsp; &lt;/P&gt;&lt;P&gt;[quote]One of my search fields is a datetime field.&amp;nbsp; Is there anyway to force the format of the date display in the text portion of the datetimepicker control (e.g. "02/06/2008" instead of " 2/ 6/2008")?[/quote]&lt;/P&gt;&lt;P&gt;This is controlled by the machine settings.&amp;nbsp; You can change this on the computer's Regional and Language settings....this is not hardcoded as different countries use different date/time formats.&amp;nbsp; Open up the control panel in Windows and go to Regional and Language Options.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/146dc246-e37e-4d5a-9431-4671.png"&gt;&lt;/P&gt;&lt;P&gt;[quote]The date search field I have setup is a datetime field in the database.&amp;nbsp; When the data is added/updated, only the date is supplied so the db value is always "mm/dd/yy 12:00:00AM".&amp;nbsp; When a search is done with a date field by using the&amp;nbsp;"generated" datetimepicker control, is the time also being used?&amp;nbsp; I can't get any "hits" using the "Equals" option for a specific date.&amp;nbsp; I have to use "Less Than" or "Less Than Or Equal To" but then I get unwanted rows return.&amp;nbsp; Is there anyway to search just for a specific date reguardless of time?[/quote]&lt;/P&gt;&lt;P&gt;Scroll further over in the options when setting up a date/time field:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/ab315abf-42eb-4308-97a7-0639.png"&gt;</description><pubDate>Wed, 06 Feb 2008 10:27:28 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog and List Controls</title><link>http://forum.strataframe.net/FindPost14077.aspx</link><description>Thanks Trent, that works but it brings up some more questions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;1. Can the text portion of the combobox be made "editable"?&amp;nbsp; The way it stands now, it appears you can only search on a specific list item (Equals) and leaves the rest of the advanced options irrelevant if the list item values are physicians names.&amp;nbsp; Is there any way of joining the "searchable" BO to a textbox instead of a combobox where entered text could be used to do partial name searches instead of exact matches?&lt;/P&gt;&lt;P&gt;2. One of my search fields is a datetime field.&amp;nbsp; Is there anyway to force the format of the date display in the text portion of the datetimepicker control (e.g. "02/06/2008" instead of " 2/ 6/2008")?&lt;/P&gt;&lt;P&gt;3. The date search field I have setup is a datetime field in the database.&amp;nbsp; When the data is added/updated, only the date is supplied so the db value is always "mm/dd/yy 12:00:00AM".&amp;nbsp; When a search is done with a date field by using the&amp;nbsp;"generated" datetimepicker control, is the time also being used?&amp;nbsp; I can't get any "hits" using the "Equals" option for a specific date.&amp;nbsp; I have to use "Less Than" or "Less Than Or Equal To" but then I get unwanted rows return.&amp;nbsp; Is there anyway to search just for a specific date reguardless of time?&lt;/P&gt;&lt;P&gt;Thanks!!</description><pubDate>Wed, 06 Feb 2008 09:54:40 GMT</pubDate><dc:creator>fansanitis</dc:creator></item><item><title>RE: BrowseDialog and List Controls</title><link>http://forum.strataframe.net/FindPost14048.aspx</link><description>Just navigate to the Combo - Business Object tab.&amp;nbsp; From that point forward it works like a list or combo box.&amp;nbsp; The only difference is that if you need to supply a parameter for the query, you will handle it in the ComboListPopulating event of the BrowseDialog:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/59e24109-f265-4220-94fc-56dd.png"&gt;</description><pubDate>Tue, 05 Feb 2008 16:06:27 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog and List Controls</title><link>http://forum.strataframe.net/FindPost14047.aspx</link><description>Screenshots would be great if you don't mind.&amp;nbsp;&amp;nbsp; Thanks!!</description><pubDate>Tue, 05 Feb 2008 15:30:11 GMT</pubDate><dc:creator>fansanitis</dc:creator></item><item><title>RE: BrowseDialog and List Controls</title><link>http://forum.strataframe.net/FindPost14042.aspx</link><description>You can create the same doctors combo to query by on a BrowseDialog as you did on your form.&amp;nbsp; You will choose the integer foreign key as the field.&amp;nbsp; When setting up the search field, you can use the PopulationDataSourceSettings under the combo tab.&amp;nbsp; If you can't get going I will post some screen shots.</description><pubDate>Tue, 05 Feb 2008 14:59:06 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>