Reporting


Author
Message
Chan
Chan
Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I would like to know, what is the best practice of reporting using SF?

My report could be DevEx XtraReport, or just on screen. Should I use BO, or access DataLayer directly?



Thank you
Replies
Geoff Hirst
Geoff Hirst
StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)
Group: Forum Members
Posts: 123, Visits: 3.5K
Hi Chaps,

Very new user. Looking at reporting options, I have DevExpress Xtrareports, however if I try and drop one my business objects on an xtrareport I get the message

The object that the business object has been dropped on must implement
MicroFour.StrataFrame.UI.Windows.Forms.IContainerControl.

Now, I have seen a post elsewhere about creating a class, inheriting the BusinessBindingSource, when I tried this, I was not allowed to drop the object on the xtrareport, so I am definitely missing something or doing something wrong. I am considering that xtrareports is not an ideal companion to Strataframe. Sick

I have also looked at an alternative reporting solution, Report Sharp-Shooter, recommended elsewhere on this forum, but again, when I tried to use the reportmanager component, it could see the objects on my form as databindings, but when I actually tried to design a report I could not get a datasource to appear.Crying

So, right now I am a bit stonewalled, any suggestions are appreciated.

Thanks in advance

Robin J Giltner
Robin J Giltner
StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)
Group: Forum Members
Posts: 105, Visits: 650
At my workplace, we exclusively use DevExpress XtraReports in our application.  Like it was said above, the Datasources our Reports use are Classes that inherit the BusinessBindingSource.  Something like

Public Class BusinessObject1DataSource

          Inherits MicroFour.StrataFrame.Business.BusinessBindingSource

          Public Sub New()

                 Me.BusinessObject = New MyBOLibrary.BusinessObject1

         End Sub

End Class

And these can be dropped on the DevExpress Reports without problem.  I have at times gotten the error about implementing the IContainer, and simply closing the report and re-opening it, has allowed me to continue.

Robin Giltner

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Chan - 18 Years Ago
StrataFrame Team - 18 Years Ago
Geoff Hirst - 18 Years Ago
Robin J Giltner - 18 Years Ago
Peter Jones - 18 Years Ago
Robin J Giltner - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Peter Jones - 18 Years Ago
Michael Reese - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Jc Martinez - 18 Years Ago
StrataFrame Team - 18 Years Ago
Jc Martinez - 18 Years Ago
Larry Caylor - 18 Years Ago
Ivan George Borges - 18 Years Ago
DanMetcalf - 17 Years Ago
Ivan George Borges - 17 Years Ago
                         Ivan-- Thanks Again! v3.7 --- and browsing through Suite_Eng.Doc, as...
DanMetcalf - 17 Years Ago
                             Hi Dan. Have a look at your Designer. If you have your Document...
Ivan George Borges - 17 Years Ago
                                 Jangling Spurs! Works like a Charm! Here's my finalcode: Dim lobo...
DanMetcalf - 17 Years Ago
                                     Dan, you are very welcome. I see you are concatenating First and Last...
Ivan George Borges - 17 Years Ago
                                         [quote]Now, just one thing... what is the meaning of "Jangling Spurs"...
Greg McGuffey - 17 Years Ago
                                             ROFL I would enjoy being a cowboy... Iasked Trent if we could ride...
Ivan George Borges - 17 Years Ago
                                                 [quote]kill snakes with a Colt 38[/quote] LOL...how about a Colt 45...
Trent L. Taylor - 17 Years Ago
                                         That surelysaves oncode --- Thanks! Dim lobo =...
DanMetcalf - 17 Years Ago
                                             Great! I know it doesn't save a lot on this case, but I was just...
Ivan George Borges - 17 Years Ago
                                                 [quote]kill snakes with a Colt 38[/quote] You could always come for...
StrataFrame Team - 17 Years Ago
                                                     [quote]They capture them and milk them for the venom and donate the...
Ivan George Borges - 17 Years Ago
                                                         We could sure use a Rattlesnake Roundup here in Santa Cruz. Although I...
DanMetcalf - 17 Years Ago
                                                             [quote]I see us there, too, but with laptop in hand, and the glow of...
Ivan George Borges - 17 Years Ago
                                                                 [quote][b]Ivan George Borges (02/01/2008)[/b][hr][quote]I see us...
DanMetcalf - 17 Years Ago
                                                                     LOL...sorry, I am all for the beans since we will be outdoors :D And I...
Trent L. Taylor - 17 Years Ago
                                                             [quote]His imagery of all of us sitting around a campfire, maybe,...
Greg McGuffey - 17 Years Ago
Rogerio Mauri - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Larry Caylor - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Ricardo Quartier - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search