﻿<?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 » Business Objects and Data Access (How do I?)  » Reporting</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 30 May 2026 13:25:59 GMT</lastBuildDate><ttl>20</ttl><item><title>Reporting</title><link>http://forum.strataframe.net/FindPost11295.aspx</link><description>Hi,&lt;br&gt;
I would like to know, what is the best practice of reporting using SF?&lt;br&gt;
My report could be DevEx XtraReport, or just on screen. Should I use BO, or access DataLayer directly?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Fri, 01 Feb 2008 17:05:28 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13961.aspx</link><description>LOL...sorry, I am all for the beans since we will be outdoors :D And I suppose our laptops will last fora&amp;nbsp; few hours until the battery dies...and then we will have to figure out something else to do :P</description><pubDate>Fri, 01 Feb 2008 17:05:28 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13959.aspx</link><description>[quote][b]Ivan George Borges (02/01/2008)[/b][hr][quote]I see us there, too, but with laptop in hand, and the glow of web colors irradiating the night sky.....[/quote]&lt;P&gt;Come on, Dan! Don't spoil it... :P[/quote]&lt;P&gt;Sorry, Ivan. &lt;P&gt;I was just trying to&amp;nbsp;entice Trent. &lt;P&gt;I'll go ahead and&amp;nbsp;take out the laptops if you take out the beans. &lt;P&gt;Greg has a good point about the Blazing Saddles issue. &lt;P&gt;I'd hate&amp;nbsp;to find ourselves embroiled in controversy after a good&amp;nbsp;bowl of&amp;nbsp;beans.&lt;P&gt;And perhaps that was Trent's hesitancy all along.</description><pubDate>Fri, 01 Feb 2008 15:42:18 GMT</pubDate><dc:creator>DanMetcalf</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13938.aspx</link><description>[quote]His imagery of all of us sitting around a campfire, maybe, eating a real cowboy's dinner, is quite compelling.[/quote]&lt;br&gt;
&lt;br&gt;
Brings back memories of a specific scene from [u]Blazing Saddles[/u]  :pinch:</description><pubDate>Fri, 01 Feb 2008 13:13:00 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13935.aspx</link><description>[quote]I see us there, too, but with laptop in hand, and the glow of web colors irradiating the night sky.....[/quote]&lt;/P&gt;&lt;P&gt;Come on, Dan! Don't spoil it... :P</description><pubDate>Fri, 01 Feb 2008 12:41:32 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13926.aspx</link><description>We could sure use a Rattlesnake Roundup here in Santa Cruz.&lt;P&gt;Although I don't think we'd get much value from milking.&lt;/P&gt;&lt;P&gt;Thanks guys --- I hope I can make it back to Texas some day --- my friend is from Katy and every now and again I take her to lunch just to get her to say "OIL". &lt;/P&gt;&lt;P&gt;But I really love Ivan's quixotic, if not romantic, sense of adventure for the Great Southwest!&lt;/P&gt;&lt;P&gt;His imagery of all of us sitting around a campfire, maybe, eating a real cowboy's dinner, is quite compelling.&lt;P&gt;I see us there, too, but with laptop in hand, and the glow of web colors irradiating the night sky.....</description><pubDate>Fri, 01 Feb 2008 10:33:29 GMT</pubDate><dc:creator>DanMetcalf</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13916.aspx</link><description>[quote]They capture them and milk them for the venom and donate the venom to the company that makes the antivenom carried by the local hospitals.&amp;nbsp;&amp;nbsp;Sounds like fun, right?[/quote]&lt;/P&gt;&lt;P&gt;Yeah, it does! Even more when thinking about "milking them", I got the idea, it just sounded funny to me. :D&amp;nbsp; Anyway, I wouldn't be able to shoot them, and milking them sounds even more exciting.&lt;/P&gt;&lt;P&gt;[quote]Oh, and most of the "cowboys" around here don't carry those much any more.&amp;nbsp; It's mostly 1911-style .45s.[/quote]&lt;/P&gt;&lt;P&gt;Oh, well, guess I will just keep watching them on the movies.</description><pubDate>Fri, 01 Feb 2008 09:25:31 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13915.aspx</link><description>[quote]kill snakes with a Colt 38[/quote]&lt;/P&gt;&lt;P&gt;LOL...how about a Colt 45 ;)....Oh, and I saw that post where you are signing me up for beer again....I might just have that chicken suit waiting for you next time :D</description><pubDate>Fri, 01 Feb 2008 09:24:56 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13904.aspx</link><description>[quote]kill snakes with a Colt 38[/quote]&lt;/P&gt;&lt;P&gt;You could always come for the annual Rattlesnake Roundup... it's held in one of the surrounding little towns around Amarillo (Childress, maybe, or Chillicothe, but that might be too far away).&amp;nbsp; A bunch of people get together and scour the brush looking for rattlesnakes.&amp;nbsp; They capture them and milk them for the venom and donate the venom to the company that makes the antivenom carried by the local hospitals.&amp;nbsp;&amp;nbsp;Sounds like fun, right?&lt;/P&gt;&lt;P&gt;[quote]Colt 38[/quote]&lt;/P&gt;&lt;P&gt;Oh, and most of the "cowboys" around here don't carry those much any more.&amp;nbsp; It's mostly 1911-style .45s.</description><pubDate>Fri, 01 Feb 2008 08:40:26 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13897.aspx</link><description>Great! I know it doesn't save a lot on this case, but I was just checking if you were aware of the concept. &lt;/P&gt;&lt;P&gt;As for Tex Ritter, I've just had a look at his discography!!! I will see if I can download and listen to some of his songs. ;)</description><pubDate>Thu, 31 Jan 2008 18:28:48 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13896.aspx</link><description>That surely&amp;nbsp;saves on&amp;nbsp;code --- Thanks!&lt;P&gt;Dim lobo = DataObjects("MyVendorNames")&lt;BR&gt;loBo.BusinessObject.seektoprimarykey(GetData("MyBBS.Provider"))&lt;BR&gt;textbox11.Text = loBo.BusinessObject.cust_fullname&lt;/P&gt;&lt;P&gt;As far as the Jangling Spurs, Ivan&amp;nbsp;-- I'm not altogether sure... &lt;/P&gt;&lt;P&gt;Perhaps&amp;nbsp;I was&amp;nbsp;reminiscing&amp;nbsp;on an old&amp;nbsp;Tex Ritter Song...:Whistling:</description><pubDate>Thu, 31 Jan 2008 18:06:09 GMT</pubDate><dc:creator>DanMetcalf</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13894.aspx</link><description>ROFL&lt;/P&gt;&lt;P&gt;I would enjoy being a cowboy... I&amp;nbsp;asked Trent if we could ride horses and camp on the desert next time I visited, have beens and bacon, kill snakes with a Colt 38... not sure he really enjoyed the idea. :hehe:</description><pubDate>Thu, 31 Jan 2008 17:29:10 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13892.aspx</link><description>[quote]Now, just one thing... what is the meaning of "Jangling Spurs" ?[/quote]&lt;br&gt;
I think it's from the "Spur-Jangled Banner"? Old cowboy song I think (mostly old cowboys sing it).  :P</description><pubDate>Thu, 31 Jan 2008 16:56:43 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13890.aspx</link><description>Dan, you are very welcome. &lt;P&gt;I see you are concatenating First and Last Name properties of your BO. Have you had a look at Custom Properties? Have a look at the Help File, under Application Framework / Business Layer / Common Business Object Tasks / Adding Custom Field Properties... and see if it gives you some ideas.&lt;P&gt;You can also follow the Tutorial, Creating a WinForms App [VB] / Adding Custom Field Properties.&lt;P&gt;Now, just one thing... what is the meaning of "Jangling Spurs" ?&amp;nbsp; :hehe:</description><pubDate>Thu, 31 Jan 2008 16:17:18 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13882.aspx</link><description>Jangling Spurs! &lt;/P&gt;&lt;P&gt;Works like a Charm!&lt;/P&gt;&lt;P&gt;Here's my final&amp;nbsp;code:&lt;/P&gt;&lt;P&gt;Dim lobo = DataObjects("MyVendorNames")&lt;BR&gt;loBo.BusinessObject.seektoprimarykey(GetData("MyBBS.Provider"))&lt;BR&gt;Dim last = loBo.BusinessObject.LASTNM&lt;BR&gt;Dim first = loBo.BusinessObject.FIRSTNM&lt;BR&gt;textbox11.Text = first &amp;amp; " " &amp;amp; last&lt;/P&gt;&lt;P&gt;As you can see, I had to walk my way through&amp;nbsp;the "BusinessObjectProperty" of the BusinessBindingSource Object to expose the strong-typed properties I was after. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Ivan -- thank you for very much for&amp;nbsp;your help!</description><pubDate>Thu, 31 Jan 2008 13:38:56 GMT</pubDate><dc:creator>DanMetcalf</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13868.aspx</link><description>Hi Dan.&lt;P&gt;Have a look at your Designer. If you have your Document property open, you will see under Script some properties you can setup for a general purpose, like Imports (for references), COMMON SCRIPT, GENERATE SCRIPT... and then, if you click any control on your lay-out, you will also find a GENERATE SCRIPT where you can enter any code, something like:&lt;P&gt;Dim loBO As New MyBO&lt;BR&gt;txtMyControl.Text = loBO.GetInfo(GetData("MyBOReportBBS.my_Field"))&lt;BR&gt;loBO.Dispose()&lt;/P&gt;&lt;P&gt;Or anyhing you want.&lt;/P&gt;&lt;P&gt;Would that help?&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&amp;nbsp;</description><pubDate>Thu, 31 Jan 2008 10:17:48 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13864.aspx</link><description>Ivan--&lt;/P&gt;&lt;P&gt;Thanks Again!&lt;/P&gt;&lt;P&gt;v3.7 --- and browsing through Suite_Eng.Doc, as we speak!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully, I'll find something akin to the RowPopulating event handler, where Strataframe has definitely spoiled me. It would be nice to replace row values in a Report Shooter&amp;nbsp;inline report with something meaningful from another BO --- much like the way SF does with e.Values().Displayvalue....</description><pubDate>Thu, 31 Jan 2008 09:45:25 GMT</pubDate><dc:creator>DanMetcalf</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13850.aspx</link><description>Hey Dan.&lt;/P&gt;&lt;P&gt;Glad I could help. :cool:&lt;/P&gt;&lt;P&gt;Yep, the datasource ellipsis has a known bug that comes up when you first create the new report, I have talked to them about it.&lt;/P&gt;&lt;P&gt;And have you downloaded the last updated version? The help file is a lot better.&lt;/P&gt;&lt;P&gt;Cheers.</description><pubDate>Wed, 30 Jan 2008 16:36:06 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13849.aspx</link><description>Ivan --&amp;nbsp;&amp;nbsp;I got Sharp-Shooter to finally&amp;nbsp;work for me&amp;nbsp;-- and the instructions you posted were very helpful! We differ only in the final&amp;nbsp;final step --&amp;nbsp;in the Standard Report Wizard&amp;nbsp;--- I kept getting locked out for some reason -- the datasource&amp;nbsp;ellipsis just doesn't like me there. If I skip that step, I'm ok.&amp;nbsp;Since the Sharp-Shooter documentation gives me indigestion, your step-by-step instructions&amp;nbsp;were a perfect start&amp;nbsp;-- thanks!&amp;nbsp;</description><pubDate>Wed, 30 Jan 2008 16:18:46 GMT</pubDate><dc:creator>DanMetcalf</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13048.aspx</link><description>Yo Rogerio thanks for the remind... &lt;/P&gt;&lt;P&gt;:)</description><pubDate>Sat, 15 Dec 2007 10:32:26 GMT</pubDate><dc:creator>Ricardo Quartier</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13005.aspx</link><description>I am sure that it may have been one that I sent Ivan's way.&amp;nbsp; I posted a very simple sample today on another thread:&amp;nbsp; &lt;A href="http://forum.strataframe.net/FindPost13001.aspx"&gt;http://forum.strataframe.net/FindPost13001.aspx&lt;/A&gt;&amp;nbsp;.&amp;nbsp; It will at least give you an idea relating data sources, etc.</description><pubDate>Wed, 12 Dec 2007 13:39:36 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost13004.aspx</link><description>Ivan, thanks for the example. If that's similar to what Trent is doing, I'll head down that path. Otherwise I wouldn't mind seeing what Trent has done, even if it's not a polished sample.&lt;/P&gt;&lt;P&gt;-Larry</description><pubDate>Wed, 12 Dec 2007 12:38:24 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost12982.aspx</link><description>We have not created a robust sample yet.&amp;nbsp; However, we are full planning on doing this and including it in the next update.&amp;nbsp; I have sent several small and uncomplete samples around, so if you are in a rush I will find one and send it your way.&amp;nbsp; Otherwise, if you have a week or two, then you may want to wait so you can see a better sample.&amp;nbsp;:)</description><pubDate>Tue, 11 Dec 2007 09:41:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost12961.aspx</link><description>Following a recommendation of Ricardo Quartier (Brazil), I analyzed the package of development of the Perpetuum Software. They are really adjusted to our necessities of integration with StrataFrame applications. (*)&lt;P&gt;&lt;EM&gt;(*)by AltaVista - Babel Fish Translation&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Rogério&lt;P&gt;&lt;A href="http://blog.licitec.com.br/"&gt;http://blog.licitec.com.br&lt;/A&gt;&lt;P&gt;;)</description><pubDate>Mon, 10 Dec 2007 12:58:41 GMT</pubDate><dc:creator>Rogerio Mauri</dc:creator></item><item><title>RE: Reporting</title><link>http://forum.strataframe.net/FindPost12959.aspx</link><description>Hi Larry. &lt;P&gt;I'm currently using Sharp-Shooter. I bet the guys will post a sample, but this might get you going.&lt;/P&gt;&lt;P&gt;I assume you have donwloaded and installed the trial (&lt;A href="http://www.perpetuumsoft.com/"&gt;http://www.perpetuumsoft.com/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;To use a SF Business Object as a datasource:&lt;/P&gt;&lt;P&gt;[code]Public Class MyBOReportBBS&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inherits MicroFour.StrataFrame.Business.BusinessBindingSource&lt;/P&gt;&lt;P&gt;#Region " Constructors "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' Default Constructor&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Sub New()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.BusinessObject = New MyBO()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;#End Region&lt;/P&gt;&lt;P&gt;#Region " Public Methods "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' Populate the data source&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Sub Fill()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not Me.DesignMode Then&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CType(Me.BusinessObject, MyBO).FillTop100()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;#End Region&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;End Class[/code]&lt;BR&gt;&lt;P&gt;Now, that will be your datasource. Of course, it is just a sample, you can grow from there. I'm usually inheriting the BO first, and then wrapping it with the BBS, so if I need to do anything specific to the report, I will do it in the inherited BO.&lt;P&gt;After that, on a form, drop a Report Sharp-Shooter ReportManager. Also drop your MyBOReportBBS.&lt;P&gt;Double click your ReportManager and on the Reports Tab, Add a new InlineReport. On the Data sources Tab, add a new data a new data source, name it as you wish. &lt;P&gt;Back on your Reports Tab, click the InlineReport you created and click Run Designer. Go to File / New and create a new Standard Report.&lt;P&gt;In the Standard Wizard, click on the Plus sign and add a DataSection. On the right, you will find a Data Source textbox, click the ... button an choose yours. Add the fields and play with it.&lt;P&gt;Hope I could make some sense with this... :hehe:</description><pubDate>Mon, 10 Dec 2007 12:20:07 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>