StrataFrame Forum

How to use Custom Business Binding Source

http://forum.strataframe.net/Topic17628.aspx

By Juan Carlos Pazos - 7/3/2008

Hi

I just update StrataFrame and take a look to the the new Custom Business Binding Source wizard. I have one BO, example CustomersBO, and I have a maintenance form for customers.

Now I want to create a simple report, in the Wizard I select Source Business Object my Customers BO, and the checked the Create a Reporting BO, but gives me this error:

Error 1 Type argument 'Datafox_Ekklesia.CustomerBO' does not inherit from or implement the constraint type 'MicroFour.StrataFrame.Business.BusinessLayer'. C:\Users\Juan Carlos\Documents\Visual Studio 2008\Projects\Datafox Ekklesia\Datafox Ekklesia\Bussines Objects\CustomDataSource1BBS.vb 4 70 Datafox Ekklesia

The option Create a Custom Bussiness Binding Souce works fine for me, but I like to know how use the Reportin BO.

Regards

By Trent L. Taylor - 7/6/2008

It sounds like your base BO (CustoemrsBO) doesn't inherit from BusinessLayer.  The BusinessBindingSOurce must accept a BusinessLayer inherited class.  So it sounds like your reporting BO has an error, fix it first before the BBS error will go away.

The bottom line is that it sounds like you either have an inheritance or namespace issue.