Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Using Shared Var value in Chart

Using Shared Var value in Chart

Using Shared Var value in Chart

Hi there,
I am sure this has been posted before but I am losing the will to live with it.

I created this in the sub report

shared CURRENCYVAR fiu;

In the main report I created this

shared currencyvar fiu;

So far so good

The value was then used against another formula and I can see that value when I try to create a report.

However I now want to just use the value FIU in the report and it will not show when trying to create a chart.

Any ideas anyone!!!

RE: Using Shared Var value in Chart

As soon as you put a shared variable in a formula it will not appear in the Chart Expert on the Data tab in the available fields section.
Consequently it appears that you are not be able to base a chart on formulas that use the shared variable.

CODE -->

Shared NumberVar x //This will cause this formula not to be available in the chart expert 

Possible Workaround:
Create a formula that does not have a shared variable.
For example

CODE -->

Base your chart on that formula
Now copy the contents of the real formula over this formula


RE: Using Shared Var value in Chart

Many thanks for the response. I resolved by doing a new sql view instead.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close