Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing a value to a GroupFooter - Crystal Rpt 8

Status
Not open for further replies.

SGIORDANO

Programmer
Jul 18, 2002
7
MT
I have this problem in passing data to the groupfooter.

This is a picture of what I want.
I have an sum in the GroupFooter per country.

As a parameter I need to enter an amount which is >= to that amount.

Basically I need to do : (AmountEntered) >= (Amount in Group).
Using the Group Selection Editor is still not giving me any result.
Can someone give me an idea of how to tackle these situations.

Thanks
Steve
 
Question isn't clear. But it sounds like you want to only show groups that are less than your parameter entry. Your Group selection formula should be:

{?ParameterField} >= Sum ( {Amount} , {Country})

The right half of this comparison should be a Group Level Sigma in your field list. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Hi Ken

Thanks for you reply. What I wanted to say in the question is to : How to make parameters directly compare with the Grouping Amounts or Counts without giving you the error '

So basically the I was doing it all wrong as I was putting: On the other side.

Sum ( {Amount} , {Country}) <= {?ParameterField}

An other question. Where should I put the expression ?

&quot;Sum ( {Amount} , {Country}) <= {Amount_Parameter}&quot;. Is it the the Group Selection ?

Thank You
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top