Results 1 to 4 of 4

Thread: [RESOLVED] Crystal Reports 10 -> temp fields?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    86

    Resolved [RESOLVED] Crystal Reports 10 -> temp fields?

    How do you clean out a shared variable after it is done and printed out on the group footer?

    For example:

    shared numberVar AvgCountNR;
    WhilePrintingRecords;
    CDBL(Sum ({@TSSales_NR})) / AvgCountNR

    I want to set AvgCountNR to 0 at the end of the group footer.

  2. #2
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Thumbs up Re: Crystal Reports 10 -> temp fields?

    shared numberVar AvgCountNR;
    WhilePrintingRecords;
    CDBL(Sum ({@TSSales_NR})) / AvgCountNR
    .

    Can you tell where youare using this code in the crystal report or in the programming part.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    86

    Re: Crystal Reports 10 -> temp fields?

    Using it in the Details section.

  4. #4
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Question Re: Crystal Reports 10 -> temp fields?

    to set AvgCountNR to 0 at the end of the group footer.


    If you set AvgCountNR as zero then what will happen it will, return zero to you. So what is the sence of it.

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