Creating Sum() type fields..

8 posts, 0 answers
  1. drew
    drew avatar
    88 posts
    Member since:
    Oct 2006

    Posted 21 Feb 2007 Link to this post

    This is a repeat from the bottom of another thread, i just felt like i was hijacking it a bit, and that it deserved its' own thread..

    i feel that likely i am going to smack myself "upside-da-head" for asking, but how do you implement aggregate fields in a report? In MS ReportView, you can can drag an attribute to the page footer and it just knows to setup the Sum(..). I have not been able to find an example of how to do it with beta1.. cheers, drew..
  2. drew
    drew avatar
    88 posts
    Member since:
    Oct 2006

    Posted 22 Feb 2007 Link to this post

    i have a demo in a few hours and can possibly sell a client on the usage of the telerik reporting tool if i can get a pointer here, i am sure it is simple, but until you know, you just don't know. Perhaps if the demo solution had a draggable data source to play with it might be more readily apparent?
  3. DevCraft banner
  4. drew
    drew avatar
    88 posts
    Member since:
    Oct 2006

    Posted 22 Feb 2007 Link to this post

    i just realized perhaps i wasn't clear. By "Sum()" i was referring to the basic function of a report to to create aggregate functions to total columns of numeric attributes, usually found at report ends, or group ends, etc...
  5. Svetoslav
    Admin
    Svetoslav avatar
    649 posts

    Posted 23 Feb 2007 Link to this post

    Hi drew,

    As I've already replied in the previous thread you are asking about the aggregate function. There is no example on how to use them because this functionality is not done yet -- we are currently working on it and I guess it will be ready for the next release (Beta 2).
     

    Kind regards,
    Svetoslav
    the telerik team
  6. drew
    drew avatar
    88 posts
    Member since:
    Oct 2006

    Posted 25 Feb 2007 Link to this post

    Thanks kindly Svetoslav, i will thus have to buy into another product for the time being. i will revisit your reporting solution in due time. Still a huge fan of the rest of your offerings, but for now, the timing is just a tad off, oh well, thanks! drew..
  7. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 26 Feb 2007 Link to this post

    No problem, drew. Our solution is still in its infant stage and it will take us some time to bring it inline with the big players. We nevertheless appreciated your feedback - it helped us spot some problems which were fixed accordingly.

    We will be glad if you revisit the Reporting solution later this year, for v2 (autumn).

    Good luck!

    Regards,
    Rob
    the telerik team
  8. Brian Cumberledge
    Brian Cumberledge avatar
    44 posts
    Member since:
    Jan 2004

    Posted 01 Mar 2007 Link to this post

    Cant this be done in code and then written out in a footer?
  9. Svetoslav
    Admin
    Svetoslav avatar
    649 posts

    Posted 02 Mar 2007 Link to this post

    Hi Brian,

    You can try with some of the events that the report items expose:

        - Item Data Binding/Data Bound
        - Item Begin/End Render
        - Report NeedDataSource
        - Report Begin/End Render
        - Begin/End Render Report Page

    I believe you can do your work with these events but it requires a little bit more coding :) We are currently working on aggregate functions and expressions that will allow you to easier create totals and more complicate data output. Expressions will be available for the next release.

     
    Kind regards,
    Svetoslav
    the telerik team
Back to Top
DevCraft banner