﻿<?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?)  » Error when use GUID field as browse search field</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 31 May 2026 05:11:54 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost13593.aspx</link><description>I am not positive when the next release will be... we are currently getting our finishing out the rest of the posted bugs and getting the install ready for VS2008 and 64-bit.</description><pubDate>Mon, 21 Jan 2008 09:57:57 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost6918.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I hit error below if I set a GUID field as browse search field. This search field is also set to use combobox - Business Object.&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;InvalidOperationException&lt;BR&gt;&amp;nbsp;The input value could not be converted to the output type.&lt;BR&gt;FormatException&lt;BR&gt;&amp;nbsp;Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).&lt;/P&gt;&lt;P&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : MicroFour StrataFrame Base&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Guid..ctor(String g)&lt;BR&gt;&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.ComboBox.PopulateCombo(Object[] Parameters)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.ComboBox.Requery()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogWindow.CreateBOCombo(SearchFieldItem Item)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogWindow.CreateAllSearchFieldControls()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogWindow.AddSearchFields()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogWindow..ctor(BrowseDialog BrowseDialogSettings, Boolean PopulateOnShow)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog.ShowDialog(Boolean PopulateOnShow)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog.ShowDialog()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.MaintenanceFormToolStrip.cmdBrowse_Click(Object sender, EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&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.ToolStrip.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)&lt;BR&gt;</description><pubDate>Mon, 21 Jan 2008 09:57:57 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost13590.aspx</link><description>Hi,&lt;br&gt;
Thank you answer.&lt;br&gt;
When would next SF release? I am using SF 1.6.1 (posted at forum) which doesn't have source code. Therefore, I am not able to change my source code.</description><pubDate>Mon, 21 Jan 2008 09:07:01 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost13587.aspx</link><description>The processing of the where element for GUID was assuming that the type could be cast or converted to a Guid, so I changed it so that it would use the Guid constructor and pass over the value.ToString() (the Guid constructor will then parse the value back into a valid Guid).&amp;nbsp; So, it should fix the problem you're having.&amp;nbsp; However, if you need the fix before then, then you can change your source code:&lt;/P&gt;&lt;P&gt;BrowseDialog&amp;#119;indow.vb line 2207:&lt;/P&gt;&lt;FONT size=1&gt;&lt;P&gt;loFieldValue.Add(&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;New&lt;/FONT&gt;&lt;FONT size=1&gt; Guid(_CurrentValue.ToString()))&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;Instead of the:&lt;/P&gt;&lt;FONT size=1&gt;&lt;P&gt;loFieldValue.Add(&lt;/FONT&gt;&lt;FONT color=#0000ff size=1&gt;CType&lt;/FONT&gt;&lt;FONT size=1&gt;(_CurrentValue, Guid))&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Mon, 21 Jan 2008 08:50:16 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost13575.aspx</link><description>Hi,&lt;br&gt;
I found that this issue has been fixed in version 1.6.1.&lt;br&gt;
I specified {00000000-0000-0000-0000-000000000000} in Top Most Value under Combo-General.&lt;br&gt;
After I select item from combobox and click search, I hit error error below. Any ideas?&lt;br&gt;
&lt;br&gt;
InvalidCastException&lt;br&gt;
  Conversion from type 'Guid' to type 'String' is not valid.&lt;br&gt;
&lt;br&gt;
Source     : Microsoft.VisualBasic&lt;br&gt;
&lt;br&gt;
Stack Trace: &lt;br&gt;
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToString(Object Value)&lt;br&gt;
   at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog&amp;#119;indow.BuildWhereElement(SearchFieldItem SearchField)&lt;br&gt;
   at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog&amp;#119;indow.BuildSearchWhereClause()&lt;br&gt;
   at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog&amp;#119;indow.ExecuteSearch()&lt;br&gt;
   at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog&amp;#119;indow.tsiSearch_Click(Object sender, EventArgs e)&lt;br&gt;
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)&lt;br&gt;
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)&lt;br&gt;
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)&lt;br&gt;
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)&lt;br&gt;
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)&lt;br&gt;
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)&lt;br&gt;
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)&lt;br&gt;
   at System.Windows.Forms.Control.WmMouseUp(Message&amp; m, MouseButtons button, Int32 clicks)&lt;br&gt;
   at System.Windows.Forms.Control.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.ToolStrip.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.OnMessage(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Native&amp;#119;indow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br&gt;</description><pubDate>Sat, 19 Jan 2008 18:12:00 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost10890.aspx</link><description>[quote][b]Ben Chase (02/22/2007)[/b][hr]To add your own item, you would need to handle the DataSource changed event on the ComboBox. Within the event, you can add a new record to the top of the data table (.Insert() it rather than .Add() it). You can check the structure of the table for the field names, but it should only havetwo columns... a "display" column and a "value" column. Then, just set the values in the new record and insert it into the table.[/quote]&lt;br&gt;
&lt;br&gt;
Hi,&lt;br&gt;
Since the combobox in browsedialog is created at runtime while ShowDialog() method been called, how could I handle its DtaaSourceChanged event?&lt;br&gt;
&lt;br&gt;
Also, FYI, the error is occured at ListControl.PopulateComboFromBusinessObject().&lt;br&gt;
&lt;br&gt;
[codesnippet]loNewRow.Item(VALUE) = MicroFour.StrataFrame.Data.ObjectConverter.ConvertValue(.TopMostItem.TopMostValue, loBO.GetPropertyDescriptor(.PopulationDataSourceSettings.ValueMember).PropertyType)&lt;br&gt;
[/codesnippet]</description><pubDate>Thu, 16 Aug 2007 08:35:45 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost10857.aspx</link><description>Hi&lt;br&gt;
Sorry, I still don't know how to solve this problem.&lt;br&gt;
Where should I put my code? How to set Browsedialog combobox.topmost to Guid.Empty instead if '-1'?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Tue, 14 Aug 2007 11:48:05 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost8646.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;May I know if this issue been handled natively in upcoming update?&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Wed, 02 May 2007 02:22:41 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost7113.aspx</link><description>To add your own item, you would need to handle the DataSource changed event on the ComboBox.&amp;nbsp; Within the event, you can add a new record to the top of the data table (.Insert() it rather than .Add() it).&amp;nbsp; You can check the structure of the table for the field names, but it should only have&amp;nbsp;two columns... a "display" column and a "value" column.&amp;nbsp; Then, just set the values in the new record and insert it into the table.</description><pubDate>Thu, 22 Feb 2007 09:09:19 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost7100.aspx</link><description>Sorry, I am lost.&lt;/P&gt;&lt;P&gt;Why to add another item to my datasource? My PL field is GUID. How to assign "-1" ? hmm... didn't get you.. sorry.</description><pubDate>Wed, 21 Feb 2007 19:32:03 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost7069.aspx</link><description>No, do not modify the SF source code.&amp;nbsp; I was referring to adding an item to the data source that is shown within combo.&amp;nbsp; Just another another item.</description><pubDate>Wed, 21 Feb 2007 10:30:59 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost7066.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Which event should I place the code to create my own topmostitem?&lt;/P&gt;&lt;P&gt;Do you meant to modify SF source code?&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Wed, 21 Feb 2007 10:26:33 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost7064.aspx</link><description>We would have to test this on the GUID as this was not designed with this in mind.&amp;nbsp; You can just create your own top most item instead of using the property.</description><pubDate>Wed, 21 Feb 2007 10:23:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost7045.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I am able to "hijack" the value of TopMostValue to change it from "-1" to "00000000-0000-0000-0000-000000000000" and it would work.&lt;/P&gt;&lt;P&gt;I would wait for your next update.&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Wed, 21 Feb 2007 03:39:55 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost7044.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I cant test on it because my project no longer working after I compile SF source code. I got to reinstall SF.</description><pubDate>Tue, 20 Feb 2007 21:33:19 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost7009.aspx</link><description>Change the "-1" to "{00000000-0000-0000-0000-000000000000}" and give it a try.&amp;nbsp; I have not tested this, but a -1 cannot be converted to a GUID.</description><pubDate>Tue, 20 Feb 2007 09:17:18 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost7006.aspx</link><description>No, I don't meant that.&lt;/P&gt;&lt;P&gt;OK, I have a field called VendorID which is GUID field type.&lt;/P&gt;&lt;P&gt;I add this field as browse dialog search field, ComboBox - business object (VendorsBO.FillAll()). I would hit error when I click on browse button.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN id=_ctl1__ctl0_ctlTopic&gt;&lt;SPAN id=_ctl1__ctl0_ctlTopic__ctl0_ctlPanelBar&gt;&lt;SPAN id=_ctl1__ctl0_ctlTopic__ctl0_ctlPanelBar_ctlTopicsRepeater__ctl1_lblFullMessage&gt;[quote]InvalidOperationException&lt;BR&gt;&amp;nbsp;The input value could not be converted to the output type.&lt;BR&gt;FormatException&lt;BR&gt;&amp;nbsp;Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).[/quote]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After some debugging, I found that, TopMostItem.TopMostValue is always defaulted as "-1" when combobox is created (as shown as below). When program try to convert TopMostValue to GUID, it hit error.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN id=_ctl1__ctl0_ctlTopic&gt;&lt;SPAN id=_ctl1__ctl0_ctlTopic__ctl0_ctlPanelBar&gt;&lt;SPAN id=_ctl1__ctl0_ctlTopic__ctl0_ctlPanelBar_ctlTopicsRepeater__ctl5_lblFullMessage&gt;&lt;FONT color=#0000ff size=2&gt;[codesnippet]Private Function CreateBOCombo(ByVal Item As SearchFieldItem) As Control&lt;BR&gt;...&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;FONT color=#0000ff size=2&gt;.TopMostItem = New TopMostListItem(_BrowseDialog.EnumTopMostText, "-1")[/codesnippet]&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Do you get what I meant?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Please advice&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;</description><pubDate>Tue, 20 Feb 2007 08:49:58 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost7004.aspx</link><description>Are you wondering how to repopulate the combobox with fresh values?&amp;nbsp; The combo box is built at runtime whenever the browse dialog is displayed, so shouldn't need to repopulate it because it will contain the fresh values each time the dialog is shown.</description><pubDate>Tue, 20 Feb 2007 08:28:49 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost7000.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;The combobox is in browse dialog form. How to reset its the combobox property? I was thinking all search fields are generated only during runtime.&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Mon, 19 Feb 2007 19:29:07 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost6977.aspx</link><description>Just select the combo box, right-click the TopMostItem property, and then click Reset.&amp;nbsp; This will remove the top most item settings within your designer.</description><pubDate>Mon, 19 Feb 2007 15:36:53 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost6965.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I just found this code may cause the problem&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;[codesnippet]Private Function CreateBOCombo(ByVal Item As SearchFieldItem) As Control&lt;BR&gt;...&lt;BR&gt;.TopMostItem = New TopMostListItem(_BrowseDialog.EnumTopMostText, "-1")[/codesnippet]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;How to fix it?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;Thank you&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Mon, 19 Feb 2007 12:07:12 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost6964.aspx</link><description>Hi,&lt;P&gt;After some debugging, I found this.&lt;/P&gt;&lt;P&gt;At the line of code shown below,&amp;nbsp;value of&lt;/P&gt;&lt;FONT color=#0000ff&gt;[quote].TopMostItem.TopMostValue = "-1"&lt;BR&gt;loBO.GetPropertyDescriptor(.PopulationDataSourceSettings.ValueMember).PropertyType = {Name = "Guid" FullName = "System.Guid"} System.Type[/quote]&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;When SF.NET try to convertvalue, "-1" cant be converted to GUID. Does lstControl..TopMostItem.TopMostValue always been defaulted to "-1"? Can it be changed?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;[codesnippet]Private Shared Sub PopulateComboFromBusinessObject(ByVal lstControl As IListControl, ByVal Parameters As Object())&lt;BR&gt;...&lt;BR&gt;loNewRow.Item(VALUE) = MicroFour.StrataFrame.Data.ObjectConverter.ConvertValue(.TopMostItem.TopMostValue, loBO.GetPropertyDescriptor(.PopulationDataSourceSettings.ValueMember).PropertyType)[/codesnippet]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Mon, 19 Feb 2007 11:56:17 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost6955.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I have retest this issue. I found that, after I set combo - Business Object, code is generated to designer.cs.&lt;/P&gt;&lt;P&gt;However, if I try to reconfigure the same search field, the UI unable to get my Business Object, and show blank in business object type, method to execute and display field.&lt;/P&gt;&lt;P&gt;Any ideas? I can use the same BO in data entry form without any problem.</description><pubDate>Mon, 19 Feb 2007 10:59:08 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Error when use GUID field as browse search field</title><link>http://forum.strataframe.net/FindPost6947.aspx</link><description>Do you have a valid selection within the combo box?&amp;nbsp; The SelectedValue of the combo box will have to be&amp;nbsp;GUID value...</description><pubDate>Mon, 19 Feb 2007 09:55:06 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>