[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

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
0
Ianm
Asked:
Ianm
  • 2
1 Solution
 
peter57rCommented:
Hi Ianm,
> The results of the selection must be Boolean"
Sounds like you are doing this in a selection rule not a formula field.


Pete
0
 
IanmAuthor Commented:
I want to pass the Total from a Subreport footer SUM
0
 
frodomanCommented:
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
0
 
IanmAuthor Commented:
Pete

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

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

Thanks
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now