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
IanmAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IanmAuthor Commented:
I want to pass the Total from a Subreport footer SUM
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
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.