CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2006
    Posts
    42

    Finding Last Record

    Hii all,
    New To Crystal Report...How can I exclude the last record from the Summary or Average of a Field

    the Shift Day and Shift ID selection grouping is done but I dont want in the summary -- Sum or Average the last record to be added.



    What formula function to be used and what is work of OnLastRecord.
    Please help.
    Yogi
    Last edited by yogesh_gothe; October 24th, 2008 at 12:39 AM. Reason: Detailing the issue

  2. #2
    Join Date
    Jul 2005
    Posts
    1,083

    Re: Finding Last Record

    Insert 2 groups
    One for date one for shiftid
    Supress GroupHeaders and Details Sections
    Set the data onto ShiftId Group Footer
    and try

  3. #3
    Join Date
    Jan 2006
    Posts
    42

    Re: Finding Last Record

    Thnks for your immediate response. But I have the reports done which is grouped for the Shift and Day. All the other data is either averaged or sum in that report. But one data called as Production data out of this group must have sum of all the production in that shift EXCEPT the last record. Is it possible .. and how can I use the ONLastRecord for this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured