Home Component Writing

New DBCalc Component

edited February 2009 in Component Writing
Is there a way that you can think of to make a new DBCalc component that
will total a column that is in a group column?

For example:

Consignment Order
----------------------------------
C1 12334
45541
4557


C2 4564654
444555

C3 4456465
4555777
1122
2211
111

C9 12221

C10 114454
---------------------------------

Total Consignments = 5
Total Orders = 12

I know how to do this on the rap side, I just wondered is there was a
way to make a component do this.

Comments

  • edited February 2009
    Hi Jeff,

    This should be possible. You would need to do something similar to the
    TppVariable component in that it is able to calculate its value at different
    times (i.e. Group Start, Group End, etc.), rather than on each detail
    traversal like the DBCalc component. This however has potential to be a
    rather large project becuase the variable component is much more
    sophisticated than the DBCalc component.


    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.