﻿<?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  » Browse Dialog error</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 28 Jun 2026 12:45:23 GMT</lastBuildDate><ttl>20</ttl><item><title>Browse Dialog error</title><link>http://forum.strataframe.net/FindPost2182.aspx</link><description>Ok, so I'm trying to do a Browse Dialog for a pretty large BO and I have everything set up according to how I thought it was supposed to be.&amp;nbsp; But, I'm getting an error...And I'm not even sure what it's pointing me to, so I'm just posting a screenshot and seeing if you can tell me anything.&amp;nbsp; I have a BO with data in it, and I'm using Me.AccountsBrowseDialog.ShowDialog() to pop up the form.&amp;nbsp; I even narrowed it down to only use one search field to make sure it wasn't data related.&amp;nbsp; Let me know if you have any ideas.</description><pubDate>Mon, 14 Aug 2006 20:46:09 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Browse Dialog error</title><link>http://forum.strataframe.net/FindPost2188.aspx</link><description>Hehe, awesome, you figured it out :)&amp;nbsp; Yes, it will give you an argument out of range exception when it tries to format an entry that isn't there.&amp;nbsp; There are certain format methods that will just print out the "{2}" rather than give you an exception, but apparently, that one just throws the exception.&amp;nbsp; I'm glad you figured it out.</description><pubDate>Mon, 14 Aug 2006 20:46:09 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Browse Dialog error</title><link>http://forum.strataframe.net/FindPost2187.aspx</link><description>Ok, Ok....I know what it is.&amp;nbsp; When I was setting the format for the result values columns I had a typo and put the parameters as {1} and {2} instead of {0} and {1}...So I guess that error means that it couldn't find {2} since I hadn't specified a third parameter.</description><pubDate>Mon, 14 Aug 2006 17:50:55 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Browse Dialog error</title><link>http://forum.strataframe.net/FindPost2186.aspx</link><description>And I didn't answer your question.&amp;nbsp; Yes, it's a message box I create that handles the UnhandledException.&amp;nbsp; It shows just the error that would be on the red error message, but not the stack trace.&amp;nbsp; I print it out to a log file, which is where I got what I attached above.</description><pubDate>Mon, 14 Aug 2006 16:49:04 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Browse Dialog error</title><link>http://forum.strataframe.net/FindPost2185.aspx</link><description>Oh, and I DO get records back if I take the SQL out of the Debug log and run it in query analyzer.&amp;nbsp; So it looks like the SQL it's generating is correct.</description><pubDate>Mon, 14 Aug 2006 16:44:55 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Browse Dialog error</title><link>http://forum.strataframe.net/FindPost2184.aspx</link><description>There you go...I meant to post that, but I forgot.&amp;nbsp; Looks like it's in the CreateDataRowItem&lt;/P&gt;&lt;P&gt;8/14/2006 4:24:11 PM&lt;BR&gt;Source: mscorlib&lt;BR&gt;Message: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.&lt;BR&gt;Stack:&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.String.Format(IFormatProvider provider, String format, Object[] args)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.String.Format(String format, Object[] args)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.BrowseDialogWindow.CreateDataRowItem(DataTable CurrentTable)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.BrowseDialogWindow.LoadBrowseResults()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.BrowseDialogWindow.ExecuteSearch()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.BrowseDialogWindow.cmdSearch_ItemClick(Object sender, ItemClickEventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at DevExpress.XtraBars.BarItemLink.OnLinkClick()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at DevExpress.XtraBars.BarItemLink.OnLinkActionCore(BarLinkAction action, Object actionArgs)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)&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 DevExpress.XtraBars.Controls.DockedBarControl.WndProc(Message&amp;amp; msg)&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>Mon, 14 Aug 2006 16:41:58 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Browse Dialog error</title><link>http://forum.strataframe.net/FindPost2183.aspx</link><description>Is that a message box that you're showing that intercepts the unhandled exception?&amp;nbsp; Or is it being shown from somewhere within the bowels of the application?&lt;/P&gt;&lt;P&gt;I'm not sure from the message description what's throwing it, so, if you can get the stack trace from the exception, it would be greatly helpful.</description><pubDate>Mon, 14 Aug 2006 16:18:26 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>