Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Sums, Groups Post Reply Post New Topic
Author Message
CraigRt
Newbie
Newbie
Avatar

Joined: 18 Mar 2009
Location: United States
Online Status: Offline
Posts: 1
Quote CraigRt Replybullet Topic: Sums, Groups
    Posted: 18 Mar 2009 at 1:25pm
Trying to make percent formulas using group sums.  No problem getting correct figures for group#1, but when I try to use the group#2 sum from the field list in the formula editor, it gives me the figure for the group#1 sum. 
 
To research this, I tried simply assigning the value of the group#2 sum to a variable (v=group#2 sum chosen from window in formula editor.  When I enter this variable into the group#2 footer line, always get the sum for group#1!
 
I've torn it the report apart, deleted the group and remade it and total, but still can't get the correct figure.
 
Oddly, the group#2 sums on the report are correct - but always the group#1 figure when referenced by a variable using the formula editor.
 
Formula editor window shows two sum lines (fields), one for group#1 and the other for group#2, but both give me group#1 figures.
 
What am I doing wrong?
 
Thanks
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 18 Mar 2009 at 2:02pm

When you are referencing "group#2" are you actually grouping at 2 levels or are you meaning the second item from group level 1. My guess is the second but want to make sure.

Can you post the Formula you used?


Edited by DBlank - 18 Mar 2009 at 2:05pm
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.015 seconds.