Link to home
Start Free TrialLog in
Avatar of Ianm
Ianm

asked on

Shared variable Crystal 10

Shared variables

I want to pass totalised Data from thre subreports to the main report

this is one

Shared NumberVar RTot := SUM({I_h.D_Tot})

But each time I get a "The results of the selection must be Boolean"

I need to pass totals

I have picked many fields but they all have the same response
ASKER CERTIFIED SOLUTION
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ianm
Ianm

ASKER

I want to pass the Total from a Subreport footer SUM
You need to create a new formula and use this code there.  In the Field Explorer click on Formula then click the New button.

There's nothing wrong with the formula you've written, but as Pete said you have it in the wrong place.

frodoman
Avatar of Ianm

ASKER

Pete

you were dead right   I was creating in totally the wrong place...

A simple answer but cured a hours worth of grief..

Thanks