in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

How to fetch or Read aggregate value??

Last post 06-02-2008 8:05 AM by anilsoni85. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-30-2008 12:27 AM

    How to fetch or Read aggregate value??

    Using which method or property i can fetch or read an aggregate value (like 27624 etc see attached screenshot)

    Screenshot

    (click to enlarge)

  • 05-30-2008 2:14 AM In reply to

    Re: How to fetch or Read aggregate value??

     

    Hi,

     

    Try using the following line in your code:

     

    Me.C1TrueDBGrid1.Columns(Index).Aggregate = C1.Win.C1TrueDBGrid.AggregateEnum.Sum

     

    Assign the column index appropriately to get the sum of the values.

     

    I hope this would be helpful.

     

    Regards,

    John Adams

     

     
     
     
    <anilsoni85> wrote in message news:205414@10.0.1.98...

    Using which method or property i can fetch or read an aggregate value (like 27624 etc see attached screenshot)

    Screenshot

    (click to enlarge)



    http://helpcentral.componentone.com/cs/forums/p/75404/205414.aspx#205414

  • 06-02-2008 8:05 AM In reply to

    Re: How to fetch or Read aggregate value??

    No adam i want the value. The code provided by you will create a aggregte function over the column but i want particular aggregate value. actually i have to export the grid in txt format without using your rtf export method and for that i need aggregate values which are there in grouped rows .

Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.