BO Populated combo boxes causing errors


Author
Message
Andria Jensen
Andria Jensen
Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)
Group: Forum Members
Posts: 336, Visits: 497
Since I upgraded to the latest version of SF, none of my combo boxes will populate.  This happens for all ComboBoxEdits that are set to populate by BO.  They were working before and now everytime a form with a combobox on it tries to load I get an error and the rest of the form quits loading.  I get an error with a stack trace like the following.  I also attached the SQL log from this morning.


11/14/2006 5:25:09 PM
Source: System.Data
Message: Column 'CurrencyType' does not belong to table .
Stack:    at System.Data.DataRow.GetDataColumn(String columnName)
   at System.Data.DataRow.get_Item(String columnName)
   at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit.PopulateFromDataTable()
   at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit.PopulateComboBox()
   at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit.set_DataSource(DataTable value)
   at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit.SetDataSource(Object DataSource, String DisplayMember, String ValueMember)
   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.DevEx.ComboBoxEdit.PopulateCombo(Object[] Parameters)
   at MicroFour.StrataFrame.UI.Windows.Forms.DevEx.ComboBoxEdit.Requery()
   at BBS.GUI.Tables.frmChkSourceTbl.frmChkSourceTbl_Activated(Object sender, EventArgs e) in C:\FactorSoftV3\BBS.GUI\Tables\frmChkSourceTbl.vb:line 11
   at System.Windows.Forms.Form.OnActivated(EventArgs e)
   at System.Windows.Forms.Form.set_Active(Boolean value)
   at System.Windows.Forms.Form.ActivateMdiChildInternal(Form form)
   at System.Windows.Forms.Form.WmMdiActivate(Message& m)
   at System.Windows.Forms.Form.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)

Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
First of all, we beleive you otherwise you would not be posting out here.  But neither of us have been able to reproduce this.  Could you create a small sample project, you could use the StrataFrameSample database if you would like, so that we might be able to see this in action.  Obviously there is something different between what you are doing and what we are doing or there is another element in the forumula.

Also, you are the first to report this as well, so I do not think it is a framework wide thing.  Otherwise, we would have already heard about this since the 1.5.1 release has been out for 3 weeks now.

So if you could help us work through your problem, that would be great.  We want to help, but we need more information.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Andria Jensen - 19 Years Ago
StrataFrame Team - 19 Years Ago
Andria Jensen - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Andria Jensen - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Andria Jensen - 19 Years Ago
             Great...thanks.
Trent L. Taylor - 19 Years Ago
Andria Jensen - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Andria Jensen - 19 Years Ago
Andria Jensen - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Andria Jensen - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Andria Jensen - 19 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search