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!

Could not create Group Result

Status
Not open for further replies.

ElkeSeeger

Technical User
Sep 4, 2002
2
DE
Hi all,
i want to create a group result with a formula.
There are two groups in the report, number and date
E.G:
12345
04.07.02
07.07.02

34567
08.07.02
09.07.02

i created two formulas:
if count (date.date, date.date)> 1 then formula = 60
if count (date.date, date.date)= 1 then formula = 40

the second formuala should sum the results of the first
formula i created.

But that doesn't match - i always get an error message that the group result couldn't be created.

Any idea?
Elke



 
In your formula:

if count (date.date, date.date)> 1 then formula = 60

I do not see where you have declared a variable called "formula", you should be getting an error on this formula without a variable declaration.

Also, where are you placing this formula? In what report section?

Please try to explain more of what you are trying to acomplishand I am sure someone can help. Software Sales, Training and Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
formula is the formula itself, means the result is stored in "formula". I get the same effect if i declare a variable, e.g.:
dim x
formula = x

I employ Basic-Syntax

The formula is placed in the Details of the group date.
The second formula, which should sum the results, is placed in the Groupfooter of the first group.

Thanks for your help!
Elke
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top