﻿<?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  » Problem with PopulateCombo</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 21 Jun 2026 11:41:29 GMT</lastBuildDate><ttl>20</ttl><item><title>Problem with PopulateCombo</title><link>http://forum.strataframe.net/FindPost3249.aspx</link><description>I have setup a combobox to populate&amp;nbsp;from a BO, just like I have set up a bunch of others, but on this one I am getting&amp;nbsp;an error saying "The input value could not be converted to the output type".&amp;nbsp; I have checked the data types and have tried several different fields, but get the same error.&amp;nbsp; I'm just not sure what this error really means or where to look to solve this problem.&amp;nbsp; Please point me in the right direction.&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;It gives me the following stack trace...&lt;/P&gt;&lt;P&gt;&lt;BR&gt;10/2/2006 5:18:00 PM&lt;BR&gt;Source: MicroFour StrataFrame Base&lt;BR&gt;Message: The input value could not be converted to the output type.&lt;BR&gt;Stack:&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.ObjectConverter.ConvertValue(Object InputValue, Type InputType, Type OutputType, String FormatString)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.ObjectConverter.ConvertValue(Object InputValue, Type OutputType)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.ListControl.PopulateComboFromBusinessObject(IListControl lstControl, Object[] Parameters)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.ListControl.PopulateCombo(Control lstControl, Object[] Parameters)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit.PopulateCombo(Object[] Parameters)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit.Requery()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit.InitializeObject()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.InitializeFormLoadObjects()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnLoad(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Form.OnCreateControl()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.CreateControl()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.WmShowWindow(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ContainerControl.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Form.WmShowWindow(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Form.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</description><pubDate>Tue, 03 Oct 2006 08:20:55 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Problem with PopulateCombo</title><link>http://forum.strataframe.net/FindPost3253.aspx</link><description>Looks like this is coming from your setting of the TopMostItem properties.&amp;nbsp; The TopMostItem's value is a string, but when the combo box is populated, it will be converted into whatever data type is in the combo box.&amp;nbsp; So, it must be a proper string representation of whatever value is being used as the value member for the combo box (i.e. if the combo box's values are integers, then the TopMostItem value must be something like "1", "0", or "-1".</description><pubDate>Tue, 03 Oct 2006 08:20:55 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>