﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » sample report</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 15 Sep 2026 12:39:31 GMT</lastBuildDate><ttl>20</ttl><item><title>sample report</title><link>http://forum.strataframe.net/FindPost25426.aspx</link><description>Hi , Im back&amp;nbsp; on this forum &lt;/P&gt;&lt;P&gt;I just want a sample example&amp;nbsp; to made a sample report. &lt;/P&gt;&lt;P&gt;how il do ? &lt;/P&gt;&lt;P&gt;I made an bo on a&amp;nbsp; sql vue&lt;/P&gt;&lt;P&gt;I made an BBS on this Bo &lt;/P&gt;&lt;P&gt;when i execute, my report is correct but no populate. &lt;/P&gt;&lt;P&gt;Have you a sample exemple because i need to understand the mécanisme .&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;bestregards&lt;/P&gt;&lt;P&gt;Eric</description><pubDate>Fri, 25 Dec 2009 15:10:11 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25457.aspx</link><description>Thanks!</description><pubDate>Fri, 25 Dec 2009 15:10:11 GMT</pubDate><dc:creator>Russell Scott Brown</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25456.aspx</link><description>Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I had previously posted a Crystal Reports example using a BBS; the attached is the SSRS version. The mechanism for adding a detail line in an .rdlc is a little strange you have to add a table, then drop textboxes on the detail row and select the fields for each.&lt;/P&gt;&lt;P&gt;Les</description><pubDate>Fri, 25 Dec 2009 08:46:06 GMT</pubDate><dc:creator>Les Pinter</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25454.aspx</link><description>Hi les, &lt;/P&gt;&lt;P&gt;I will see your example&amp;nbsp; tomorow&amp;nbsp; a morning&lt;/P&gt;&lt;P&gt;very thanks&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Eric</description><pubDate>Thu, 24 Dec 2009 12:25:26 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25449.aspx</link><description>Thanks.&lt;/P&gt;&lt;P&gt;I will vote for an example using SSRS too.</description><pubDate>Wed, 23 Dec 2009 20:23:50 GMT</pubDate><dc:creator>Russell Scott Brown</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25444.aspx</link><description>Hi Eric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I should have built this example sooner; but better late than never. I did an example with Crystal Reports, which I use often and like.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; In this example, I created a customer list ordered and grouped by Country, then built the report with the first 100 customers. In my example, the only form, Form1, is entirely occupied by a CrystalReportViewer. Here's the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; customersBO1&amp;nbsp; .fillTop100();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rptCustomers rpt = new rptCustomers();&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rpt.SetDataSource(customersBO1.CurrentDataTable);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextObject t = rpt.ReportDefinition.ReportObjects["Title"] as TextObject;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t.Text = "Customer Listing";&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; crystalReportViewer1.ReportSource = rpt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Crystal has some peculiarities (like having to create an instance of a TextObject that points into the report, then assigning a&amp;nbsp;text string to thë isntance.&amp;nbsp;I wish they permitted a syntax like&amp;nbsp;rpt.Title = "Customer Listing", or even rpt.ReportDefinition.ReportObjects["Title"] = "Customer Listing";&amp;nbsp;but unfortunately, that's not how it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; However, SF works equally well with SSRS. Let me know if you'd like a sample done with SSRS, or help on some specific issue.&lt;/P&gt;&lt;P&gt;Les</description><pubDate>Tue, 22 Dec 2009 15:24:50 GMT</pubDate><dc:creator>Les Pinter</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25443.aspx</link><description>Thanks Eric!&lt;br&gt;
&lt;br&gt;
Happy Holidays to all of you!</description><pubDate>Tue, 22 Dec 2009 15:03:58 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25441.aspx</link><description>hi,&lt;/P&gt;&lt;P&gt;I this tha Michel will post an english help as soon as possible&lt;/P&gt;&lt;P&gt;best regards &lt;/P&gt;&lt;P&gt;&lt;SPAN id=result_box class=short_text&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" title="Joyeux noel et bonne année à tous" closure_hashCode_vzc088="34"&gt;&lt;FONT size=5&gt;Merry Christmas and Happy New Year to all&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=short_text&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" title="Joyeux noel et bonne année à tous" closure_hashCode_vzc088="34"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Eric</description><pubDate>Tue, 22 Dec 2009 11:00:14 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25440.aspx</link><description>Thanks.&amp;nbsp; An explanation in English would be helpful. :)</description><pubDate>Sun, 20 Dec 2009 12:32:49 GMT</pubDate><dc:creator>Russell Scott Brown</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25439.aspx</link><description>hi, &lt;/P&gt;&lt;P&gt;verry big thanks for Michel&lt;/P&gt;&lt;P&gt;I understand now the mecanism of report, bbs bo . &lt;/P&gt;&lt;P&gt;It's running veriy well now&lt;/P&gt;&lt;P&gt;I just think, if the help strata was made like the Michel LEVY explication, a lot of french developpers whoud make the developpent with strataframe !&lt;/P&gt;&lt;P&gt;best regards &lt;/P&gt;&lt;P&gt;Eric</description><pubDate>Sun, 20 Dec 2009 07:42:49 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25438.aspx</link><description>Hi,&lt;P&gt;I've sent to Eric (private mail) a step-by-step "How to?" (in french). As soon I 'll translate it in english, i'll put it on the forum. &lt;/P&gt;&lt;P&gt;Gerard, we used only native tools from Visual Studio 2008 and StrataFrame. with VS2005, i used Report SharpShooter, but VS2008 greatly improved the reporting. No need to other tools if you want to export in pdf or&amp;nbsp;excel sheets, I found the VS2008 reports really nice, and much simpler than ReportSharpShhoter (and of course than&amp;nbsp;Crystal... :sick: )&lt;/P&gt;&lt;P&gt;The trouble in designing a report with VS2008 comes with the fact that VS automatically adds a BindingSource (a native one, not a SF customBBS) on the form where you build your report. &lt;BR&gt;If you do all in code, there is no problem, because you define the data source for your report in the code. &lt;BR&gt;But if you put your CustomBBSs in your toolbox, end then drop visually the cusBBS on the form and link it to your report in the same way (visually), ah...:crying: then VS2008 says "he, and MY data sources?" and you need to check again that your cusBBS is always the datasource selected for the report, and you may delete this native binding source from you report.&lt;P&gt;And what Eric was missing to populate the BO was how to "call" the fill method defined on the BO, from the form through the cusBBS. And as all our BOs are sub-classed from a BO class where reside all our generic fill methods, he didn't see how to retrieve these methods from the cusBBS.</description><pubDate>Sun, 20 Dec 2009 06:03:05 GMT</pubDate><dc:creator>Michel Levy</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25435.aspx</link><description>[quote][b]Eric Leissler (12/19/2009)[/b][hr]hi, &lt;br&gt;
&lt;br&gt;
excuse me, but i dont understand how to populate my report.&lt;br&gt;
&lt;br&gt;
i have a Bo &lt;br&gt;
&lt;br&gt;
i have a BBs on my BO&lt;br&gt;
&lt;br&gt;
and after, what i have to do?&lt;br&gt;
&lt;br&gt;
Thanks &lt;br&gt;
Best regard[/quote]&lt;br&gt;
&lt;br&gt;
No problem Eric.  Just populate the BO the same way you do for your forms, either you should have a method in the BO that you will call to populate the BO or you will use a Dialog Browser like in StrataFlix to ask the user the filter values to populate the BO.&lt;br&gt;
&lt;br&gt;
I know the method used in StrataFlix is not the easiest one (at least it was not for me when I was learning it :D) but at the end once I understood it has been the best way for me since I can have my custom Dialog Browser to filter the report data.  I can not explain it in a single phrase how it works because it is link to several classes and logic, but what I did was to put some time into StrataFlix, setup some debugger breaks and follow the code, then start implementing the same logic in my application until it works.</description><pubDate>Sat, 19 Dec 2009 11:25:28 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25434.aspx</link><description>hi, &lt;/P&gt;&lt;P&gt;excuse me, but i dont understand how to populate my report.&lt;/P&gt;&lt;P&gt;i have a Bo &lt;/P&gt;&lt;P&gt;i have a BBs&amp;nbsp;&amp;nbsp; on my BO&lt;/P&gt;&lt;P&gt;and after, what i have to do?&lt;/P&gt;&lt;P&gt;Thanks &lt;BR&gt;Best regard</description><pubDate>Sat, 19 Dec 2009 05:15:35 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25431.aspx</link><description>Hi Gerard,&lt;br&gt;
&lt;br&gt;
Yes, .Net have its own reporting tools which the StrataFlix sample uses, I use Report SharpShooter (RSS) because I need more than what is offered by the .Net like exporting to PDF/Excel, nice preview etc.&lt;br&gt;
&lt;br&gt;
Eric, the report engine will use a BBS which internally use a BO, you simply use the BBS as the data source for the report, then populate the BO and execute the report.  I am not familiar with the .Net reporting, but what the StrataFlix sample does is use a BrowseDialog to get the data to fill the BO that it is used by the BBS. &lt;br&gt;
&lt;br&gt;
Take a look at the "SF Custom Business Binding Source" in the help file, this template will help you create a BBS with its own BO for reporting purpose.</description><pubDate>Fri, 18 Dec 2009 13:56:32 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25429.aspx</link><description>Hi Edhy. I am currently looking at report writing , but did not realise there was an out of the box mechanism in .net (other than SSRS and Crystal) . Is there something else that comes standard in .net that facilitates creating reports ?</description><pubDate>Fri, 18 Dec 2009 11:05:28 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25428.aspx</link><description>Hi eddy, &lt;/P&gt;&lt;P&gt;I just want en sample report (myreport.rdlc)&lt;/P&gt;&lt;P&gt;I dont understand how to populate&amp;nbsp; this report. &lt;/P&gt;&lt;P&gt;I downloaded stratafix but i dont understand the mecanism .&lt;/P&gt;&lt;P&gt;I search &lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Best regard</description><pubDate>Fri, 18 Dec 2009 10:50:57 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: sample report</title><link>http://forum.strataframe.net/FindPost25427.aspx</link><description>Hi Eric,&lt;br&gt;
&lt;br&gt;
The StrataFlix sample project have 2 sample reports.  You can download it from the "My Account" downloads.  Also you can search the forums using the flag "Reports" and that may give you a couple of thread about reports.&lt;br&gt;
&lt;br&gt;
Will you be using plain .Net reports or a 3rd party tool?</description><pubDate>Fri, 18 Dec 2009 09:42:57 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>