Strataframe Business Objects with Sharpshooter


Author
Message
Ross L. Rooker, Sr.
Ross L. Rooker, Sr.
StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)
Group: Forum Members
Posts: 153, Visits: 462
Creating a simple Sharpshooter Report. Dragged a SF BO onto the Report form and a message pops up: "Invalid Strataframe Container. The object that the business object has been dropped on must implement Microfour.Strataframe.Windows.Forms.IContainer control".

What is the easiest way to use an SF BO for a Sharpshooter report. Some of our users will be creating reports. We were hoping to create the methods within the SF BO that they would use to create simple reports. Is this workable with a SF BO, or do we need to roll our own BO's outside of SF?

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
A BO requires the parent container to implement IContainer, as shown in the error message.  You should really be creating a reporting BBS that gets dragged onto your form rather than a BO getting dragged onto your form anyway.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
You will really want to load the latest 1.6.6 build now and use the new Custom Business Binding Source as it will do all of this work for you.  You can get it here: http://forum.strataframe.net/FindPost17560.aspx 
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search