Error when use GUID field as browse search field


Author
Message
Chan
Chan
Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

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.

Please advice.

Thank you

InvalidOperationException
 The input value could not be converted to the output type.
FormatException
 Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

Source     : MicroFour StrataFrame Base

Stack Trace:
   at System.Guid..ctor(String g)
   at MicroFour.StrataFrame.Data.ObjectConverter.ConvertValue(Object InputValue, Type InputType, Type OutputType, String FormatString)
   at MicroFour.StrataFrame.Data.ObjectConverter.ConvertValue(Object InputValue, Type OutputType)
   at MicroFour.StrataFrame.UI.Windows.Forms.ListControl.PopulateComboFromBusinessObject(IListControl lstControl, Object[] Parameters)
   at MicroFour.StrataFrame.UI.Windows.Forms.ListControl.PopulateCombo(Control lstControl, Object[] Parameters)
   at MicroFour.StrataFrame.UI.Windows.Forms.ComboBox.PopulateCombo(Object[] Parameters)
   at MicroFour.StrataFrame.UI.Windows.Forms.ComboBox.Requery()
   at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogWindow.CreateBOCombo(SearchFieldItem Item)
   at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogWindow.CreateAllSearchFieldControls()
   at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogWindow.AddSearchFields()
   at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogWindow..ctor(BrowseDialog BrowseDialogSettings, Boolean PopulateOnShow)
   at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog.ShowDialog(Boolean PopulateOnShow)
   at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog.ShowDialog()
   at MicroFour.StrataFrame.UI.Windows.Forms.MaintenanceFormToolStrip.cmdBrowse_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Chan - 17 Years Ago
StrataFrame Team - 17 Years Ago
Chan - 17 Years Ago
Chan - 17 Years Ago
                 Hi, I just found this code may cause the problem...
Chan - 17 Years Ago
Trent L. Taylor - 17 Years Ago
                         Hi, The combobox is in browse dialog form. How to reset its the...
Chan - 17 Years Ago
                             Are you wondering how to repopulate the combobox with fresh values?...
StrataFrame Team - 17 Years Ago
                                 No, I don't meant that. OK, I have a field called VendorID which is...
Chan - 17 Years Ago
                                     Change the "-1" to "{00000000-0000-0000-0000-000000000000}" and give...
Trent L. Taylor - 17 Years Ago
                                         Hi, I cant test on it because my project no longer working after I...
Chan - 17 Years Ago
                                             Hi, I am able to "hijack" the value of TopMostValue to change it from...
Chan - 17 Years Ago
                                                 We would have to test this on the GUID as this was not designed with...
Trent L. Taylor - 17 Years Ago
                                                     Hi, Which event should I place the code to create my own topmostitem?...
Chan - 17 Years Ago
                                                         No, do not modify the SF source code. I was referring to adding an...
Trent L. Taylor - 17 Years Ago
                                                             Sorry, I am lost. Why to add another item to my datasource? My PL...
Chan - 17 Years Ago
                                                                 To add your own item, you would need to handle the DataSource changed...
StrataFrame Team - 17 Years Ago
                                                                     Hi, May I know if this issue been handled natively in upcoming...
Chan - 17 Years Ago
                                                                     [quote][b]Ben Chase (02/22/2007)[/b][hr]To add your own item, you...
Chan - 17 Years Ago
                                                                         Hi,
I found that this issue has been fixed in version 1.6.1....
Chan - 16 Years Ago
                                                                             The processing of the where element for GUID was assuming that the...
StrataFrame Team - 16 Years Ago
                                                                                 Hi,
Thank you answer.
When would next SF release? I am using...
Chan - 16 Years Ago
                                                                                     I am not positive when the next release will be... we are currently...
StrataFrame Team - 16 Years Ago
                                         Hi
Sorry, I still don't know how to solve this problem....
Chan - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search