BBS DataRelation <> Report Sharp Shooter


Author
Message
Philipp Guntermann
Philipp Guntermann
StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)
Group: Forum Members
Posts: 141, Visits: 263
Hi,

i am using the express version of report sharpshooter. i can create simple reports with no parent/child relations by just dropping a BBS onto the form and setting it up. Tho i dont see a possibility to set up a parent-child relationship between two bbs objects in a way that report sharpshooter understands.

any ideas ?

thanks.

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
Have you had a look at the sample I sent you last month?

http://forum.strataframe.net/FindPost20704.aspx

You will basically create a new property in your parent BO that will represent your child BBS:


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
It looks like you forgot to override the AreCustomerDescriptorsEvaluated property:

    Private Shared _AreCustomDescriptorsEvaluated As Boolean = False

/// <summary>
/// Determine if the custom descriptors are going to be evaluated
/// </summary>
/// <remarks></remarks>
    protected override bool AreCustomDescriptorsEvaluated {
    get {
        //-- Establish Locals
        bool r = _AreCustomDescriptorsEvaluated;
       
        //-- Do not eval the desciptors again
        _AreCustomDescriptorsEvaluated = true;
       
        //-- Return results
        return r;
    }
}


Philipp Guntermann
Philipp Guntermann
StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)
Group: Forum Members
Posts: 141, Visits: 263
Ivan George Borges (12/08/2008)
It looks like you forgot to override the AreCustomerDescriptorsEvaluated property:

    Private Shared _AreCustomDescriptorsEvaluated As Boolean = False

/// <summary>
/// Determine if the custom descriptors are going to be evaluated
/// </summary>
/// <remarks></remarks>
    protected override bool AreCustomDescriptorsEvaluated {
    get {
        //-- Establish Locals
        bool r = _AreCustomDescriptorsEvaluated;
       
        //-- Do not eval the desciptors again
        _AreCustomDescriptorsEvaluated = true;
       
        //-- Return results
        return r;
    }
}

Actually i allready have that:

namespace ReportSS2.ReportBinding

{

public class RechnungenBO : ReportSS2.RechnungenBO

{

#region Private Fields

private static bool _AreCustomDescriptorsEvaluated = false;

private static RechpositionenBBS _Rechpositionen = new RechpositionenBBS();

#endregion

#region Protected Methods

/// <summary>

/// Determine if the custom descriptors are going to be evaluated

/// </summary>

/// <remarks></remarks>

protected override bool AreCustomDescriptorsEvaluated

{

get

{

//-- Establish Locals

bool r = _AreCustomDescriptorsEvaluated;

//-- Do not eval the desciptors again

_AreCustomDescriptorsEvaluated = true;

//-- Return results

return r;

}

}


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
Hi there.

I'm facing some difficulties over here, since I don't speak neither German nor C#. Hehe

But I got to make your project work. Had to delete the instance of your RechungenBBS from the form, as there was some error there, I guess with namespaces or such. Also repaired some code and inheritance of BO, and it looks like working now:


Attachments
ReportSS2.zip (148 views, 3.00 MB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Philipp Guntermann - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Dustin Taylor - 17 Years Ago
Dustin Taylor - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Ivan George Borges - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Ivan George Borges - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Ivan George Borges - 17 Years Ago
                 It looks like you forgot to override the...
Ivan George Borges - 17 Years Ago
Philipp Guntermann - 17 Years Ago
                         Hi there. I'm facing some difficulties over here, since I don't speak...
Ivan George Borges - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Ivan George Borges - 17 Years Ago
Edhy Rijo - 17 Years Ago
                     Hey, don't give up his secret identity!!! :smooooth:
Ivan George Borges - 17 Years Ago
                         LOL....you guys need to tell my WIFE that :D When I am sitting on the...
Trent L. Taylor - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Ivan George Borges - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Ivan George Borges - 17 Years Ago
                         [quote][b]Ivan George Borges (12/15/2008)[/b][hr]Well, I think I...
Philipp Guntermann - 17 Years Ago
                             Phillip, You can do this and is just a design that you need to...
Trent L. Taylor - 17 Years Ago
                                 Hello Trent, i did download and look at the strataflix sample. As...
Philipp Guntermann - 17 Years Ago
                                     And my previous post covers that. You can perform a query at the point...
Trent L. Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
Dustin Taylor - 17 Years Ago
Dustin Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
Philipp Guntermann - 17 Years Ago
Philipp Guntermann - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search