﻿<?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?)  » ComboBox</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 08:24:49 GMT</lastBuildDate><ttl>20</ttl><item><title>ComboBox</title><link>http://forum.strataframe.net/FindPost2628.aspx</link><description>I have a winform with a "boPersons" Business object and table = persons. and a column= IDPerTitles. I populated the form with a combobox and configured it as follows&lt;/P&gt;&lt;P&gt;1. PopulationDataSource = "BoPositionTitles", FillTop100().&lt;/P&gt;&lt;P&gt;2. Diaplay Member = {0}-RecordID,{1}-Description&lt;/P&gt;&lt;P&gt;3 Display Member Formate String = {0},{1}&lt;/P&gt;&lt;P&gt;ValueMember = RocordID which is the recordID of the BoPositionsTitles Business Object.&lt;/P&gt;&lt;P&gt;When I dropdown the combobox I can see the list of position titles. I can also select a title. However, when I return to the form, the combobox displays the first record in the BoPositionTitles object. It appears that the boPersons BO is not being populated with the recordId from the BoPositionTitles object upon saving??&lt;/P&gt;&lt;P&gt;Michael</description><pubDate>Tue, 05 Sep 2006 13:28:18 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: ComboBox</title><link>http://forum.strataframe.net/FindPost2637.aspx</link><description>Yes, the PopulationDataSourceSettings are only for the population of the business object and have nothing to do with the binding back to the data.&amp;nbsp; So, you also need to configure the business object and field to which the combo box's selected value is bound.</description><pubDate>Tue, 05 Sep 2006 13:28:18 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: ComboBox</title><link>http://forum.strataframe.net/FindPost2633.aspx</link><description>Ok, I got I forgot the bindingfield. Here is a snippet from a previous thread.&lt;/P&gt;&lt;P&gt;1. Select the country combo box&lt;BR&gt;2. Click the PopulationDataSourceSettings&lt;BR&gt;3. Choose the Country Business Object&lt;BR&gt;4. Choose the method that will Fill the BO with the countries&lt;BR&gt;5. Add the country name as the display column&lt;BR&gt;6. Add {0} to the format column&lt;BR&gt;7. Pick the primary key of the Country table for the Value Member&lt;BR&gt;8. Click OK&lt;BR&gt;9. Make sure that the PopulationType of the combo is set to BusinessObject&lt;BR&gt;10. On the same combo box, select the BusinessObject property to the instance of the Clubes on the form&lt;BR&gt;11. &lt;STRONG&gt;Set the BindingField to the Country field in the Clubes table.&lt;/STRONG&gt;</description><pubDate>Sun, 03 Sep 2006 10:55:01 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: ComboBox</title><link>http://forum.strataframe.net/FindPost2631.aspx</link><description>I've got about the same problem: If I dropdown I can see the correct data, however if I return to the form, there is no data selected. &lt;/P&gt;&lt;P&gt;...gerhard...</description><pubDate>Sun, 03 Sep 2006 08:38:22 GMT</pubDate><dc:creator>Gerhard Jaros</dc:creator></item></channel></rss>