Update Video Training


Author
Message
Hugo R. Figueroa
Hugo R. Figueroa
StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)
Group: StrataFrame Users
Posts: 81, Visits: 3.1K
Will you have an updated video training?

From what I saw in the demo it is very good, but I want to wait for buy it until an update is available.

Replies
Charles R Hankey
Charles R Hankey
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Forum Members
Posts: 524, Visits: 30K
Thanks Ben -



That did the trick for building ! ( oddly the inherits line was in the ordersBO but not CustomersBO )



When I tried to fill top 100 I did get this unhandled exception

MicroFour.StrataFrame.Business.BusinessLayerException was unhandled by user code

Message="An error occurred while refreshing the data from field 'CustomersBO.cust_lname' to property 'Text' on control 'Textbox5.' Are you missing FieldPropertyDescriptor for a custom property?"

Source="MicroFour StrataFrame Business"

StackTrace:

at MicroFour.StrataFrame.Business.BusinessLayer.RefreshControl(IBusinessBindable ControlToRefresh, Boolean DataPresent)

at MicroFour.StrataFrame.Business.BusinessLayer.RefreshBoundControls()

at MicroFour.StrataFrame.Business.BusinessLayer.raise_CurrentDataTableRefilled()

at MicroFour.StrataFrame.Business.BusinessLayer.OnCurrentDataTableRefilled()

at MicroFour.StrataFrame.Business.BusinessLayer.ChangeCurrentDataTable(DataTable NewTable, Boolean AcceptChanges, Boolean IsSharedTable)

at MicroFour.StrataFrame.Business.BusinessLayer.FillDataTable(String SelectStatement)

at myBusinessObject.CustomersBO.FillTop100() in C:\Documents and Settings\Charles\My Documents\Visual Studio 2005\Projects\ParentChildRelationship\myBusinessObject\CustomersBO.vb:line 9

at ParentChildRelationship.Form1.Button1_Click(Object sender, EventArgs e) in C:\Documents and Settings\Charles\My Documents\Visual Studio 2005\Projects\ParentChildRelationship\ParentChildRelationship\Form1.vb:line 4

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.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)





But there is that hint this may have something to do with a FieldPropertyDescriptor so I'll just consider working through that a learning experience Smile



This stuff is fun !



Thanks again



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
Each property that gets created through the BO Mapper has a class created for it as well which is a FieldPropertyDescriptor class that prevents reflection from being used when binding to a control.  When you use the BO Mapper these are automatically created for you.  It appears that his BO would simply need to have the partial class rebuilt and it will create the field property descriptor class.

The only time that you need to manually create a property descriptor is when creating custom fields that will be bound to controls.  There are some samples on this as well as some info in the docs as to what needs to be done here.  In fact, the tutorial shows how to create the property descriptors for a custom field.

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Looking at the name of the field within your BO, the cust_lname in the sample was changed to cust_FirstName some time ago (column name in the database changed).  So, if you're rebuilding your partial class from the fields in the database, it should pick up the correct name, and the textbox is probably still bound to the old name "cust_lname".  Is there any way you could download the latest release?  All of the samples in the latest release have been updated so that they reference the new fields...
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Hugo R. Figueroa - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Chan - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Juan Carlos Pazos - 17 Years Ago
Larry Caylor - 18 Years Ago
             I will send a link to you via email.
Trent L. Taylor - 18 Years Ago
Peter Jones - 18 Years Ago
Kelvin Gerhart - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Michael Reese - 18 Years Ago
Larry Caylor - 18 Years Ago
Peter Jones - 18 Years Ago
Ben Hayat - 18 Years Ago
Charles R Hankey - 18 Years Ago
Ivan George Borges - 18 Years Ago
Charles R Hankey - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Charles R Hankey - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Charles R Hankey - 18 Years Ago
Charles R Hankey - 18 Years Ago
Charles R Hankey - 18 Years Ago
Trent L. Taylor - 18 Years Ago
StrataFrame Team - 18 Years Ago
Charles R Hankey - 18 Years Ago
Trent L. Taylor - 18 Years Ago
StrataFrame Team - 18 Years Ago
Geoff Hirst - 17 Years Ago
Trent L. Taylor - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search