StrataFlix and Report SharpShooter


Author
Message
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Trent,

I am about to start working on some reports for my 1st SF project, for now I will used the free version of Report SharpShooter and honestly I have no idea where to start even to create the report and use the BBS with it.

Do you think you guys could put together a simple quick sample report in StrataFlix using Report SharpShooter?

You already included 3 reports using MS report, but I am really stuck on this and would like to use Report SharpShooter instead.

Edhy Rijo

Replies
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
LOL!

Tongue

Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Ivan,

How would you handle a report for a One 2 Many relation like (Customers->Orders->OrderItems)?

Do we have to create a BSS for each table?

P.S.

Sorry I keep asking about this, but I have not other experience with report writers except for VFP.

Edhy Rijo

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: 6.9K
Yes.  You will create a BBS for each each table in question.  StrataFlix actually shows you how to do this.  If you look at the movie profile report or the people profile report, you will see that each BO that will be used has its own reporting BO and BBS.  The root object will then have the private fields for each of the BBS classes that need to be exposed.

For example, in the People Profile Report, the PeopleBO is the root BO for this report.  If you look at this class, you will see that there are two additional exposed child tables: MovieCast and PeopleImages.  These are children tables of PeopleBO.  If I were to have a grandchild, for example, if MovieCast had another child, then I would open up the MovieCastBO and add all of the BBS classes that are children of this class. 

Also, look at the properties of the exposed BBS classes and you will see how the filter is applied to each child BO so that it syncs up with the parent record.

Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Thanks Trent.

I will review those classes in detail. 

Also I noticed that in Ivan's sample the RSS preview window is created and in StrataFlix you have a custom Preview Form to handle all reports and it looks like a better approach.  Would you guys consider adding a RSS version report to StrataFlix using the same nice logic as the existing MS reports?

Edhy Rijo

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hey Edhy.

Have a look at the Report Sharp-Shooter samples, there are a lot of things demonstrated there. Check the CustomDesignerViewer folder.

In short, you just add a new form to your project and drop a Perpetuum ReportViewer control in it.

Have a look at the same sample attached.

Hope it helps. Wink

Attachments
WindowsApplication1.zip (205 views, 1.00 MB)
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Thanks Ivan,

It does help a lot.  I will check the samples as suggested, and the attached sample is very clear.

Edhy Rijo

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Great to hear that. Cool
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Edhy Rijo - 17 Years Ago
Ivan George Borges - 17 Years Ago
Edhy Rijo - 17 Years Ago
Edhy Rijo - 17 Years Ago
Ivan George Borges - 17 Years Ago
                         Thanks again Ivan, Will check your sample.
Edhy Rijo - 17 Years Ago
                             Hi Ivan, Thanks a lot for your sample and the reference to the help...
Edhy Rijo - 17 Years Ago
                                 [quote]When creating a report I noticed you use "InlineReportSlot", is...
Ivan George Borges - 17 Years Ago
                                     The InlineReportSlot will give you some additional flexibility if you...
Trent L. Taylor - 17 Years Ago
                                         Yeah! Of course, now I remember why I chose it. :D
Ivan George Borges - 17 Years Ago
Dustin Taylor - 17 Years Ago
             LOL! :P
Ivan George Borges - 17 Years Ago
Edhy Rijo - 17 Years Ago
Trent L. Taylor - 17 Years Ago
                         Thanks Trent. I will review those classes in detail. Also I noticed...
Edhy Rijo - 17 Years Ago
                             Hey Edhy. Have a look at the Report Sharp-Shooter samples, there are...
Ivan George Borges - 17 Years Ago
                                 Thanks Ivan, It does help a lot. I will check the samples as...
Edhy Rijo - 17 Years Ago
                                     Great to hear that. :cool:
Ivan George Borges - 17 Years Ago
Ross L. Rooker, Sr. - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Richard Keller - 16 Years Ago
Edhy Rijo - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search